From b256a2f7c1d31a9d8d8856de2d04d5d2af36d0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 22 Aug 2012 10:14:08 +0200 Subject: easy_e17.sh: add local patch handlinq --- easy_e17.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/easy_e17.sh b/easy_e17.sh index 097f969..8d82d66 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -19,6 +19,7 @@ logs_path="$tmp_path/install_logs" status_path="$tmp_path/status" src_cache_path="$tmp_path/src_cache" src_path="$HOME/e17_src" +src_patch_path="local_patches" conf_files="/etc/easy_e17.conf $HOME/.easy_e17.conf $PWD/.easy_e17.conf" ctags_enabled=0 @@ -1361,6 +1362,13 @@ elif [ "$action" == "install" ]; then fi pkg_total=`echo "$updated_packages" | wc -w` +# patches +open_header "Apply local patches" +cd $src_path +for patch in $(ls -1 $src_patch_path); do + echo " - apply $patch" && patch -p 1 < $src_patch_path/$patch +done + # build/install open_header "Compilation & installation" if [ "$action" == "install" ]; then -- cgit v1.1-2-g2b99