The line with the user message for failure missed the call to echo.
This commit is contained in:
parent
0d5a4693a7
commit
e2e78ccd0a
|
@ -1,7 +1,12 @@
|
|||
MACH=`(cd .. ; basename \`pwd\`)`
|
||||
if cp $1 ../../../lib/${MACH}/$1
|
||||
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
|
||||
}
|
||||
then
|
||||
set -
|
||||
ranlib ../../../lib/${MACH}/$1 >/dev/null 2>&1
|
||||
exit 0
|
||||
else
|
||||
echo Sorry, can not create "lib/${MACH}/$1".
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue