mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #3288 from dokku/josegonzalez-patch-1
Wrap script binary in single quotes during executable check
This commit is contained in:
@@ -47,7 +47,7 @@ execute_script() {
|
||||
|
||||
if [[ "$SCRIPT_CMD" == /* ]]; then
|
||||
local SCRIPT_BIN="$(echo "$SCRIPT_CMD" | cut -d' ' -f1)"
|
||||
COMMAND+=" if [[ ! -x $SCRIPT_BIN ]]; then "
|
||||
COMMAND+=" if [[ ! -x '$SCRIPT_BIN' ]]; then "
|
||||
COMMAND+=" echo specified binary is not executable ; "
|
||||
COMMAND+=" exit 1 ; "
|
||||
COMMAND+=" fi "
|
||||
|
||||
Reference in New Issue
Block a user