aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-01-21 10:25:56 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-01-21 10:25:56 +0000
commitb73fa50dbc05a8114d530a0b82b857d04e3a558d (patch)
tree18c9f06108f213da2a695209de22ea38e6883ab3 /Mk/Scripts
parent8a4ec5b5b6b98c15b22c79340d26342d2af2da86 (diff)
Notes
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/smart_makepatch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Scripts/smart_makepatch.sh b/Mk/Scripts/smart_makepatch.sh
index 7c0bf8da5613..cd95503a856b 100644
--- a/Mk/Scripts/smart_makepatch.sh
+++ b/Mk/Scripts/smart_makepatch.sh
@@ -184,9 +184,9 @@ regenerate_patches() {
local OUT
local ORIG
local new_list
- new_list=$(cd ${PATCH_WRKSRC} && \
+ new_list=$(cd "${PATCH_WRKSRC}" && \
find -s * -type f -name '*.orig' 2>/dev/null)
- (cd ${PATCH_WRKSRC} && for F in ${new_list}; do
+ (cd "${PATCH_WRKSRC}" && for F in ${new_list}; do
ORIG=${F#./}
NEW=${ORIG%.orig}
cmp -s ${ORIG} ${NEW} && continue