mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Changed install script to be strict POSIX compilant
git-svn-id: http://svn.opennebula.org/trunk@79 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
e4e112cfc1
commit
91f0bdd088
@ -2,7 +2,7 @@
|
||||
|
||||
MAKE_LINKS="no"
|
||||
|
||||
if [ "$1" == "-l" ]; then
|
||||
if [ "$1" = "-l" ]; then
|
||||
MAKE_LINKS="yes"
|
||||
shift
|
||||
fi
|
||||
@ -14,7 +14,7 @@ echo $SRC_DIR
|
||||
echo $DST_DIR
|
||||
|
||||
inst_ln() {
|
||||
if [ "$MAKE_LINKS" == "yes" ]; then
|
||||
if [ "$MAKE_LINKS" = "yes" ]; then
|
||||
ln -s $SRC_DIR/$1 $DST_DIR/$2
|
||||
else
|
||||
cp $SRC_DIR/$1 $DST_DIR/$2
|
||||
|
Loading…
Reference in New Issue
Block a user