Skip to content
Snippets Groups Projects
Commit e0b529c8 authored by lcappelli's avatar lcappelli
Browse files

Add set -ex and review if statement

parent 6e80675f
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@
# The script works best (i.e. it is tested) if run within a docker container
# started from the .devcontainer
set -ex
usage()
{
echo "USAGE: $0 [OPTIONS] [TEXT]"
......@@ -102,7 +104,7 @@ if [ ! -d "${module_root}" ]; then
exit 1
fi
if [ ! -f "/workspaces/ngx_http_voms_module/nginx-httpg_no_delegation.patch" ]; then
if [ ! -f "${module_root}/nginx-httpg_no_delegation.patch" ]; then
>&2 echo "nginx-httpg_no_delegation.patch not found in ${module_root} dir."
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment