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