X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=util%2Fdist-wget;h=25152c7c9ecffd07c6344edd8fb95dc8f51248f4;hp=b4fe96e5368783dd1213de19bed130064c0ab90e;hb=2e3b4d2187021ba2b4e37f1eecb61f8ea9c644a1;hpb=69678f03d717b657775fd0130a9b807478fb0f5e diff --git a/util/dist-wget b/util/dist-wget index b4fe96e5..25152c7c 100755 --- a/util/dist-wget +++ b/util/dist-wget @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2001 Free Software Foundation, Inc. @@ -26,6 +26,7 @@ # file, but you are not obligated to do so. If you do not wish to do # so, delete this exception statement from your version. +set -e CVSROOT=:pserver:cvs@sunsite.dk:/pack/anoncvs SUBDIR=wget.cvs.$$ @@ -53,7 +54,7 @@ do ;; -r) shift - EXPORT_TAG="-r $1" + EXPORT_TAG="-r '$1'" ;; --force-version) shift @@ -85,7 +86,7 @@ echo "Output from commands is in $O." echo "-----------" >$O # Checkout clean sources from the repository. -echo $e_n "Exporting ($EXPORT_TAG) out the CVS tree to $SUBDIR... $e_c" +echo $e_n "Exporting ($EXPORT_TAG) out the CVS tree to $TMPDIR/$SUBDIR... $e_c" cvs -d $CVSROOT export $EXPORT_TAG -d $SUBDIR wget 1>>$O 2>&1 echo "done."