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