The line with the user message for failure missed the call to echo.
This commit is contained in:
parent
0d5a4693a7
commit
e2e78ccd0a
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue