mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
appenv: Added option -l to install.sh
This commit is contained in:
1 parent
fe47b7af0b
commit
2bffeeca8e
1 file changed
+3
-1
Vendored
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user