attempting to use it. (trunk r8686)
svn path=/main/branches/2.1.2/; revision=8687
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
: