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 committed 2008-07-24 11:42:41 +00:00
1 parent e4e112cfc1
commit 91f0bdd088
1 file changed
+2 -2
+2 -2
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