ack/mach/install

13 lines
322 B
Plaintext
Raw Normal View History

1984-11-05 11:55:15 +00:00
MACH=`(cd .. ; basename \`pwd\`)`
if cp $1 ../../../lib/${MACH}/$1 >/dev/null 2>&1 ||
{ rm -f ../../../lib/${MACH}/$1 >/dev/null 2>&1 &&
cp $1 ../../../lib/${MACH}/$1 >/dev/null 2>&1
}
1984-11-05 11:55:15 +00:00
then
set -
ranlib ../../../lib/${MACH}/$1 >/dev/null 2>&1
exit 0
else
echo Sorry, can not create "lib/${MACH}/$1".
1984-11-05 11:55:15 +00:00
fi