summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeasy_e17.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index df4b95a..c7759fb 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -1366,8 +1366,8 @@ pkg_total=`echo "$updated_packages" | wc -w`
open_header "Apply local patches"
cd $src_path
if [ -d $src_patch_path ]; then
- for patch in $(ls -1 $src_patch_path); do
- echo " - apply $patch" && patch -p 1 -N -r - < $src_patch_path/$patch
+ for patch in $(ls -1 $src_patch_path/*.patch); do
+ echo " - apply $patch" && patch -p 1 -N -r - < $patch
done
else
echo " - no $src_patch_path directory"