Update entrypoint.sh

This commit is contained in:
anki-code 2020-03-07 23:24:05 +03:00 committed by GitHub
parent 777edae8d4
commit 418dcfea4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,15 +9,15 @@
# -c <command> Execute command on host, print the result and exit
# -v Verbose mode to debug
#
while getopts f:c:v: option
do
case "${option}"
in
f) EXECUTE_FILE=${OPTARG};;
c) EXECUTE_COMMAND=${OPTARG};;
v) VERBOSE=${OPTARG};;
esac
done
#while getopts f:c:v: option
#do
#case "${option}"
#in
#f) EXECUTE_FILE=${OPTARG};;
#c) EXECUTE_COMMAND=${OPTARG};;
#v) VERBOSE=${OPTARG};;
#esac
#done
#
# Move to current directory
@ -28,4 +28,4 @@ cd $CURRENT_DIR
#
# Run the portable shell
#
./your_portable_shell # $EXECUTE_FILE $EXECUTE_COMMAND $VERBOSE
./your_portable_shell # $EXECUTE_FILE $EXECUTE_COMMAND $VERBOSE