From 2bffeeca8ed04dfafcff57eaac13dec523d3e9f8 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 11 Sep 2012 12:10:13 +0200 Subject: [PATCH] appenv: Added option -l to install.sh --- env/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/env/install.sh b/env/install.sh index bd21200c61..6b1de4f804 100755 --- a/env/install.sh +++ b/env/install.sh @@ -15,7 +15,7 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -TEMP_OPT=`getopt -o d: -n 'install.sh' -- "$@"` +TEMP_OPT=`getopt -o ld: -n 'install.sh' -- "$@"` if [ $? != 0 ] ; then usage @@ -24,11 +24,13 @@ fi eval set -- "$TEMP_OPT" +LINK="no" SRC_DIR=$PWD while true ; do case "$1" in -d) ROOT="$2" ; shift 2 ;; + -l) LINK="yes" ; shift ;; --) shift ; break ;; *) usage; exit 1 ;; esac