1
0
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:
Javier Fontán Muiños 2008-07-24 11:42:41 +00:00
parent e4e112cfc1
commit 91f0bdd088

View File

@ -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