Author: acid Date: 2006-02-25 23:45:54 +0000 (Sat, 25 Feb 2006) New Revision: 61 Modified: trunk/scripts/hg2dist.sh Log: fix some bugs Modified: trunk/scripts/hg2dist.sh ==================================================================--- trunk/scripts/hg2dist.sh 2006-02-25 18:48:57 UTC (rev 60) +++ trunk/scripts/hg2dist.sh 2006-02-25 23:45:54 UTC (rev 61) @@ -8,7 +8,7 @@ exit 1 fi -if [ ! \( -d $HGDIR -a -d $HGDIR/.hg \) ]; then +if [ ! \( -d "$HGDIR" -a -d "$HGDIR/.hg" \) ]; then echo "Usage: $0 <xen-hg-dir>" exit 1 fi @@ -47,7 +47,7 @@ echo "Creating orig file $DESTTAR..." -tar -zc $DESTDIR -f $DESTTAR || exit 1; +tar zcf $DESTTAR $DESTDIR || exit 1; echo "DONE" echo "Now please svn export your debian directory in $DESTDIR and check that the changelog version matches"