aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2020-01-21 20:36:14 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2020-01-21 20:36:14 +0000
commited09885fec597eb62cafff8e5505b7fd558cf8a9 (patch)
treea591b5f6968a9b583efbbdbf85f26df5cf11485a
parent82c0824a4c96c4744372f9a34457919d7446d42c (diff)
downloadports-ed09885fec597eb62cafff8e5505b7fd558cf8a9.tar.gz
ports-ed09885fec597eb62cafff8e5505b7fd558cf8a9.zip
Notes
-rw-r--r--Mk/Scripts/smart_makepatch.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Scripts/smart_makepatch.sh b/Mk/Scripts/smart_makepatch.sh
index f9b2897b4d89..e61dc294e4b8 100644
--- a/Mk/Scripts/smart_makepatch.sh
+++ b/Mk/Scripts/smart_makepatch.sh
@@ -69,7 +69,7 @@ std_patch_filename() {
patchdir_files_list() {
if [ -d "${PATCHDIR}" ]; then
(cd ${PATCHDIR} && \
- find ./* -type f -name "patch-*" -maxdepth 0 \
+ find . -type f -name "patch-*" -maxdepth 0 \
2>/dev/null | sed -e 's,^\./,,; /\.orig$/d'
)
fi;
@@ -186,7 +186,7 @@ regenerate_patches() {
local ORIG
local new_list
new_list=$(cd "${PATCH_WRKSRC}" && \
- find -s ./* -type f -name '*.orig' 2>/dev/null)
+ find -s . -type f -name '*.orig' 2>/dev/null)
(cd "${PATCH_WRKSRC}" && for F in ${new_list}; do
ORIG=${F#./}
NEW=${ORIG%.orig}
@@ -216,7 +216,7 @@ stage_patches() {
local P
local name
local patch_list
- patch_list=$(cd ${REGENNED} && find ./* -name "patch-*" 2>/dev/null)
+ patch_list=$(cd ${REGENNED} && find . -name "patch-*" 2>/dev/null)
for P in ${patch_list}; do
P=${P#./}
name=$(get_patch_name ${P})