Commit f63cbf81 by Kazuhiro NISHIYAMA

fix exit status of install with verbose

parent 97fc5c55
...@@ -701,7 +701,8 @@ fi ...@@ -701,7 +701,8 @@ fi
exec 4<> "$LOG_PATH" # open the log file at fd 4 exec 4<> "$LOG_PATH" # open the log file at fd 4
if [ -n "$VERBOSE" ]; then if [ -n "$VERBOSE" ]; then
tail -f "$LOG_PATH" & tail -f "$LOG_PATH" &
trap "kill 0" SIGINT SIGTERM EXIT TAIL_PID=$!
trap "kill $TAIL_PID" SIGINT SIGTERM EXIT
fi fi
export LDFLAGS="-L'${PREFIX_PATH}/lib' ${LDFLAGS}" export LDFLAGS="-L'${PREFIX_PATH}/lib' ${LDFLAGS}"
......
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