Commit 1b5bfc5e 1b5bfc5e452898fcb2a7d7e05721c8faa6828f80 by Sergey Poznyakoff

Bugfix

1 parent 38ddd22f
1 #! /bin/sh 1 #! /bin/sh
2 2
3 if [ "$1" = "-r"]; then 3 if [ "$1" = "-r" ]; then
4 shift 4 shift
5 rm -rf $* 5 rm -rf $*
6 exit 0 6 exit 0
...@@ -31,11 +31,11 @@ do ...@@ -31,11 +31,11 @@ do
31 fi 31 fi
32 mkdirhier $DSTDIR 32 mkdirhier $DSTDIR
33 chmod -R u+w $DSTDIR 33 chmod -R u+w $DSTDIR
34 rm -rf $DSTDIR/*
34 35
35 cat $SRCDIR/DISTFILES | 36 cat $SRCDIR/DISTFILES |
36 while read NAME 37 while read NAME
37 do 38 do
38 test -f $DSTDIR/$NAME && rm $DSTDIR/$NAME
39 cp $SRCDIR/$NAME $DSTDIR/$NAME 39 cp $SRCDIR/$NAME $DSTDIR/$NAME
40 chmod u+w $DSTDIR/$NAME 40 chmod u+w $DSTDIR/$NAME
41 done 41 done
......