attempting to use it.
svn path=/main/trunk/; revision=8686
9>&-
fi
set +f
- touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
+ [ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \
+ touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
exit 0
;;
*)
exit 1
;;
esac
- touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
+ [ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \
+ touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
fi
# Save the env only for relevant phases.
done
fi
- touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
+ [ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \
+ touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
# subshell die support
kill -s SIGTERM ${EBUILD_MASTER_PID}
done
fi
-touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
+[ -n "${EBUILD_EXIT_STATUS_FILE}" ] && \
+ touch "${EBUILD_EXIT_STATUS_FILE}" &>/dev/null
: