mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-21 01:42:14 +00:00
Fix param check
This commit is contained in:
parent
28041d72bb
commit
f1097a3c68
@ -1,13 +1,7 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
|
||||
if [ "${#}" != "1" ]; then
|
||||
echo "[.lib.sh] Error: Invalid number of arguments"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DEVILBOX_PATH="${1}"
|
||||
|
||||
DEVILBOX_PATH="$( echo "${1}"| sed 's/\/*$//' )" # remove last slash(es): /
|
||||
|
||||
|
||||
|
||||
|
@ -77,6 +77,4 @@ before_install:
|
||||
###
|
||||
script:
|
||||
#- .tests/test_${SERVER}.sh .
|
||||
- echo $SERVER
|
||||
- echo $VERSION
|
||||
- .tests/test_single.sh . "${SERVER}" "${VERSION}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user