diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-08-22 10:14:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-08-22 10:14:08 +0200 |
commit | b256a2f7c1d31a9d8d8856de2d04d5d2af36d0c7 (patch) | |
tree | ac431e188739fe9c932fdf30ef615f56e6c29ecb /easy_e17.sh | |
parent | 2e972cee466ac41bb8a5004eec6f93db364f5c93 (diff) | |
download | bin-b256a2f7c1d31a9d8d8856de2d04d5d2af36d0c7.zip bin-b256a2f7c1d31a9d8d8856de2d04d5d2af36d0c7.tar.gz |
easy_e17.sh: add local patch handlinq
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-x | easy_e17.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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 |