mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-11 09:26:14 +00:00
Some very small changes
This commit is contained in:
@@ -118,7 +118,7 @@ setConfigurationValue() {
|
||||
local VALUE="$KEY = '${2//\'/\'}'"
|
||||
;;
|
||||
esac
|
||||
# REGEX? FTW!
|
||||
# REGEX? FTW! https://regex101.com/r/hF1oS4/2
|
||||
set +e
|
||||
GREP_RESULT="$(grep -v "$(grep -Pzo "^#?$KEY[ ]*=[ ]+([{(\[]+.*([\])}]+$|(\n[ ]*[\])}]$|\n.+)+)|['\"]*.*['\"]*$)" "$FILE")" "$FILE")"
|
||||
if [ ! -z "$GREP_RESULT" ]; then
|
||||
@@ -521,11 +521,10 @@ case "$1" in
|
||||
COMMAND="$1"
|
||||
if [[ -n $(which $COMMAND) ]] ; then
|
||||
shift 1
|
||||
$(which $COMMAND) "$@"
|
||||
exec "$(which $COMMAND)" "$@"
|
||||
else
|
||||
appHelp
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user