From e7684a0f2c97b2449ccb819542b562e019f6bf8d Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 20 Sep 2016 01:31:09 -0600 Subject: [PATCH] Quote variable --- bin/detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/detect b/bin/detect index 3877e6c..2195331 100755 --- a/bin/detect +++ b/bin/detect @@ -3,7 +3,7 @@ set -eo pipefail; [[ $TRACE ]] && set -x # Exit early if app is clearly not an nginx app -if [[ ! -f $1/.static ]]; then +if [[ ! -f "$1/.static" ]]; then exit 1 fi