ack/distr/mkf

17 lines
446 B
Plaintext
Raw Normal View History

1988-04-18 10:13:57 +00:00
if [ -f $DESTDIR/$1/$2 ]
1985-04-14 23:26:24 +00:00
then
1988-04-18 10:13:57 +00:00
:
elif grep LIST $DESTDIR/$1/.distr >/dev/null 2>&1 &&
1985-04-14 23:26:24 +00:00
(test "$2" = "`head -1 $DESTDIR/$1/LIST`") >/dev/null 2>&1 &&
${DA-false} "$1" "$2"
then
: Fetched library contents one by one and put them together
else
echo ++ $1/$2 not present
fi
case $2 in
LIST) if (test -r $DESTDIR/$1/`head -1 $DESTDIR/$1/LIST`) >/dev/null 2>&1
then echo ++ LIST files must be in .distr before their libraries!!!
fi ;;
esac