mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Add a SAVE_DEBUG flag for controlling just the saving of the debug info (but
not implying PRODUCTION=yes).
This commit is contained in:
@@ -146,7 +146,7 @@ release:
|
||||
@echo "Doing executing target $@ on host: `hostname`"
|
||||
@echo "Build directory: `pwd`"
|
||||
script -a ${RELEASE_LOGFILE} ${MK} build
|
||||
@if [ "${PRODUCTION}" == "yes" ]; then \
|
||||
@if [ "${PRODUCTION}" == "yes" -o "${SAVE_DEBUG}" == "yes" ]; then \
|
||||
${BUILD_TOOLS}/save-build-env.py; \
|
||||
fi
|
||||
script -a ${RELEASE_LOGFILE} ${BUILD_TOOLS}/create-release-distribution.py
|
||||
|
||||
Reference in New Issue
Block a user