[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] trunk r4432: more output
From: |
Carl Hansen |
Subject: |
[Gsrc-commit] trunk r4432: more output |
Date: |
Wed, 5 Apr 2017 13:43:24 -0400 (EDT) |
User-agent: |
Bazaar (2.7.0dev1) |
------------------------------------------------------------
revno: 4432
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Wed 2017-04-05 10:42:02 -0700
message:
more output
modified:
util/sync-descriptions.sh
syncdescriptions.sh-20131105225202-05ai899jsmvyloki-1
=== modified file 'util/sync-descriptions.sh'
--- a/util/sync-descriptions.sh 2014-01-28 22:24:51 +0000
+++ b/util/sync-descriptions.sh 2017-04-05 17:42:02 +0000
@@ -19,10 +19,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-GNUMAINT=$HOME/Projects/gnu/womb/gnumaint
+#GNUMAINT=$HOME/Projects/gnu/womb/gnumaint
+GNUMAINT=$gsrc/womb/gnumaint
PKGS=$GNUMAINT/gnupackages.txt
BLURBS=$GNUMAINT/pkgblurbs.txt
-GSRC=$HOME/Projects/gsrc/trunk
+#GSRC=$HOME/Projects/gsrc/trunk
+GSRC=$gsrc
get_pkg_info () {
sed -n "/^package: $1\$/,/^$/p" $2
@@ -54,24 +56,25 @@
EOF
}
-for d in $GSRC/gnu/*; do
+for d in $GSRC/pkg/gnu/*; do
pkg=`basename "$d"`
mk="${d}/Makefile"
temp="${mk}.temp"
desc=`get_desc $pkg`
+ echo test pkg: $pkg desc: $desc
blurb=`get_blurb $pkg`
mkblurb="`sed '1,/define BLURB/d;/endef/,$d' $mk`"
if [[ $desc != "" ]]; then
if ! grep -q "$desc" $mk; then
sed -i "s|DESCRIPTION = .*|DESCRIPTION = $desc|" $mk
- echo "$pkg desc"
+ echo doing "$pkg desc"
fi
fi
redirect_p "$blurb" && continue
null_desc_p "$blurb" && continue
if ! diff -q <(echo "$blurb") <(echo "$mkblurb") >/dev/null; then
printf "`sed -n '1,/define BLURB/p' $mk`\n$blurb\n`sed -n '/endef/,$p'
$mk`\n" >$temp
- mv $temp $mk
+# mv $temp $mk
echo "$pkg blurb"
fi
done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] trunk r4432: more output,
Carl Hansen <=