Mercurial > hg > octave-nkf > gnulib-hg
changeset 6211:47a869e145b0
* gnulib-tool: Fix reversed $symbolic logic.
author | Derek R. Price <derek@ximbiot.com> |
---|---|
date | Sun, 04 Sep 2005 15:57:34 +0000 |
parents | 4e6ef6bd2966 |
children | 8f96fca2b376 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-09-04 Derek Price <derek@ximbiot.com> + + * gnulib-tool: Fix reversed $symbolic logic. + 2005-09-03 Simon Josefsson <jas@extundo.com> * gnulib-tool: Fix typo.
--- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-09-03 08:20:57 $' +cvsdatestamp='$Date: 2005-09-04 15:57:34 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -988,7 +988,7 @@ # frequently that developers don't put autogenerated files into CVS. echo "Copying file $g2" test -n "$dry_run" && dry=echo - if test -z "$symbolic" && cmp "$gnulib_dir/$f2" "$destdir/$g2.tmp"; then + if test -n "$symbolic" && cmp "$gnulib_dir/$f2" "$destdir/$g2.tmp"; then func_ln_if_changed "$gnulib_dir/$f2" "$destdir/$g2" else $dry mv -f "$destdir/$g2.tmp" "$destdir/${g2}" || func_fatal_error "failed"