Skip to content

Commit

Permalink
make: fix patch name with spaces
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Lapkin <[email protected]>
  • Loading branch information
Artem Lapkin committed Sep 23, 2021
1 parent 6787d63 commit 46d354b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/make
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ PATCHING(){

for P in $PKD/patches/$PKG_VERSION/*.patch; do
[ -f "$P" ] && {
PN=$(basename $P)
PN=$(basename "$P")
echo "[i] PATCH $PN"
patch -p1 -d"$BS" < "$P" || FAIL
}
done
[ "$PATCH_DEBUG" ] && \
for P in $PKD/patches/$PKG_VERSION/*.patch.debug*; do
[ -f "$P" ] && {
PN=$(basename $P)
PN=$(basename "$P")
echo "[i] PATCH $PN"
patch -p1 -d"$BS" < "$P" || FAIL
}
Expand All @@ -49,7 +49,7 @@ done
[ "$PATCH_TEST" ] && \
for P in $PKD/patches/$PKG_VERSION/*.patch.test*; do
[ -f "$P" ] && {
PN=$(basename $P)
PN=$(basename "$P")
echo "[i] PATCH $PN"
patch -p1 -d"$BS" < "$P" || FAIL
}
Expand Down

0 comments on commit 46d354b

Please sign in to comment.