aboutsummaryrefslogtreecommitdiff
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.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