X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=util%2Fdist-wget;h=2dc305ccda129ae45cb5a38c99e56fd63bcdf5ee;hb=4055ebc41f1c10a0d5c2d3643c1f10271d983c67;hp=25152c7c9ecffd07c6344edd8fb95dc8f51248f4;hpb=2e3b4d2187021ba2b4e37f1eecb61f8ea9c644a1;p=wget diff --git a/util/dist-wget b/util/dist-wget index 25152c7c..2dc305cc 100755 --- a/util/dist-wget +++ b/util/dist-wget @@ -98,8 +98,9 @@ rm -rf Branches 1>>$O 2>&1 # Force the version if required. if test x"$VERSION" != x then - echo "char *version_string = \"$VERSION\";" > src/version.c echo "Forcing version to $VERSION." + echo "char *version_string = \"$VERSION\";" > src/version.c + echo "@set VERSION $VERSION" > doc/version.texi fi # Create configure and friends. @@ -138,8 +139,9 @@ echo "done." # Create the distribution file. echo $e_n "Creating distribution tarball... $e_c" $MAKE dist 1>>$O 2>&1 -mv wget-*.tar.gz $DEST_DIR -echo "done." +archive=`echo wget-*.tar.gz` +mv "$archive" $DEST_DIR +echo "$archive" cd ..