1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-28 11:33:05 +00:00
buildpack-nginx/bin/detect
Jose Diaz-Gonzalez e7684a0f2c Quote variable
2016-09-20 01:31:09 -06:00

11 lines
208 B
Bash
Executable File

#!/usr/bin/env bash
# bin/detect <build-dir> <cache-dir>
set -eo pipefail; [[ $TRACE ]] && set -x
# Exit early if app is clearly not an nginx app
if [[ ! -f "$1/.static" ]]; then
exit 1
fi
echo ".static"