Commit 66e11c27 authored by Mattia Rizzolo's avatar Mattia Rizzolo

supress debug message if not run in a terminal

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent 29981df3
......@@ -12,7 +12,10 @@ fi
run_script() (
if [[ ! -x "${script}" ]]; then
# suppress message if not running in a terminal
if [[ -t 1 ]]; then
echo "$(basename "$script"): not executable, skipping"
fi
return
fi
# Create a temporary build directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment