Skip to content
Permalink
Browse files

Fix applying patches

  • Loading branch information
FlorianSW committed Dec 8, 2019
1 parent f6e7312 commit a233932bd8bf27d08dffbde77e637f3c5c602980
Showing with 7 additions and 1 deletion.
  1. +7 −1 clone-list.sh
@@ -17,6 +17,9 @@

scriptPath="$( cd "$(dirname "$0")" ; pwd -P )"

git config user.email "nobody@droidwiki.org"
git config user.name "DroidWiki build system"

while read line
do
name=$line
@@ -33,7 +36,10 @@ do
rc=$?; if [[ $rc != 0 ]]; then echo "Error in update.sh script"; exit $rc; fi

for patch in $scriptPath/patches/$name/*.patch ; do
coloredEcho " | Applying patch $patch..." green
if [[ ! -e "$patch" ]]; then
continue;
fi
echo "Applying patch $patch..."
git am $patch
done
done < $1

0 comments on commit a233932

Please sign in to comment.
You can’t perform that action at this time.