web_cmd enable debug, fix touch
This commit is contained in:
parent
c6c75d981d
commit
9d036f9ad5
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
set -u
|
||||
# DEBUG
|
||||
#set -x
|
||||
set -x
|
||||
|
||||
main() {
|
||||
cmd="${1}"
|
||||
|
@ -14,7 +14,7 @@ main() {
|
|||
content="$(cat "${flock}")"
|
||||
echo "web command already requested: ${content}"
|
||||
else
|
||||
touch
|
||||
touch "${flock}"
|
||||
deployment="${deployment:-prod}"
|
||||
echo "requested ${cmd}"
|
||||
${cmd} &
|
||||
|
|
Reference in New Issue