1 Jan 2003 16:01
gnulib-tool buglets
Karl Berry <karl <at> freefriends.org>
2003-01-01 15:01:08 GMT
2003-01-01 15:01:08 GMT
I made three minor changes to gnulib-tool. First, I got this error on
every invocation:
$ gnulib-tool --list
sed: -e expression #1, char 22: multiple number options to `s' command
which comes from this line:
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$Date: 2003/01/01 14:51:23 $,,'`
which I changed to:
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
to avoid the expansion of $Date$, which I think was the intent.
Now the --version output looks better.
Second, I said
gnulib-tool --create-testdir --dir . mkstemp tempname
and it said:
mkdir: cannot create directory `.': File exists
gnulib-tool: *** could not create destination directory
So I changed this line:
mkdir "$destdir" || func_fatal_error "could not create destination directory"
to this:
mkdir "$destdir"
test -d "$destdir" \
|| func_fatal_error "could not create destination directory"
Third, when I said
gnulib-tool --create-testdir --dir foo . mkstemp tempname
it also said:
gnulib-tool: module doesn't exist
(Continue reading)
RSS Feed