aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Scripts/smart_makepatch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Scripts/smart_makepatch.sh')
-rw-r--r--Mk/Scripts/smart_makepatch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Scripts/smart_makepatch.sh b/Mk/Scripts/smart_makepatch.sh
index cd95503a856b..b84416b235d1 100644
--- a/Mk/Scripts/smart_makepatch.sh
+++ b/Mk/Scripts/smart_makepatch.sh
@@ -25,6 +25,7 @@
# if those targets modify source files (e.g. with sed). You may also
# want to disable EXTRA_PATCHES as well if that is being used.
+[ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_SMART_MAKEPATCH}" ] && set -x
if [ -z "${PATCHDIR}" -o -z "${PATCH_WRKSRC}" -o -z "${WRKDIR}" ]; then
echo "WRKDIR, PATCHDIR, and PATCH_WRKSRC required in environment." >&2