From 91f0bdd0889be332edf63d29f679ced5bf074146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Font=C3=A1n=20Mui=C3=B1os?= Date: Thu, 24 Jul 2008 11:42:41 +0000 Subject: [PATCH] Changed install script to be strict POSIX compilant git-svn-id: http://svn.opennebula.org/trunk@79 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 730733d6ff..dd8b9f5c43 100755 --- a/install.sh +++ b/install.sh @@ -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