Update entrypoint.sh
This commit is contained in:
parent
777edae8d4
commit
418dcfea4d
@ -9,15 +9,15 @@
|
|||||||
# -c <command> Execute command on host, print the result and exit
|
# -c <command> Execute command on host, print the result and exit
|
||||||
# -v Verbose mode to debug
|
# -v Verbose mode to debug
|
||||||
#
|
#
|
||||||
while getopts f:c:v: option
|
#while getopts f:c:v: option
|
||||||
do
|
#do
|
||||||
case "${option}"
|
#case "${option}"
|
||||||
in
|
#in
|
||||||
f) EXECUTE_FILE=${OPTARG};;
|
#f) EXECUTE_FILE=${OPTARG};;
|
||||||
c) EXECUTE_COMMAND=${OPTARG};;
|
#c) EXECUTE_COMMAND=${OPTARG};;
|
||||||
v) VERBOSE=${OPTARG};;
|
#v) VERBOSE=${OPTARG};;
|
||||||
esac
|
#esac
|
||||||
done
|
#done
|
||||||
|
|
||||||
#
|
#
|
||||||
# Move to current directory
|
# Move to current directory
|
||||||
@ -28,4 +28,4 @@ cd $CURRENT_DIR
|
|||||||
#
|
#
|
||||||
# Run the portable shell
|
# Run the portable shell
|
||||||
#
|
#
|
||||||
./your_portable_shell # $EXECUTE_FILE $EXECUTE_COMMAND $VERBOSE
|
./your_portable_shell # $EXECUTE_FILE $EXECUTE_COMMAND $VERBOSE
|
||||||
|
Loading…
Reference in New Issue
Block a user