summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-10-15 15:46:41 +0000
committerBruno Haible <bruno@clisp.org>2004-10-15 15:46:41 +0000
commit84091cf3e23927f9dbbf4309a75fe348b8c42a3a (patch)
tree61f1508354bbff17f4aa72094f0169b5b60b9715 /gnulib-tool
parentb4dfec714c928a4519c945c5e37d3a38783ec5ba (diff)
downloadgnulib-84091cf3e23927f9dbbf4309a75fe348b8c42a3a.tar.gz
Portability tweak.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 9654c631f9..eb7d853fe8 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2004-10-15 15:43:58 $'
+cvsdatestamp='$Date: 2004-10-15 15:46:41 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
@@ -451,7 +451,7 @@ func_import ()
test -n "$dry_run" && dry=echo
$dry cp -p "$gnulib_dir/$f" "$destdir/$g"
# Update license.
- if test -z "$dry_run" -a -n "$lgpl" -a -n "$source"; then
+ if test -z "$dry_run" && test -n "$lgpl" && test -n "$source"; then
perl -pi -e 's/GNU General/GNU Lesser General/g;' \
-e 's/version 2([ ,])/version 2.1\1/g' \
$destdir/$g