fixed all errors when generating patches

This commit is contained in:
mohammed jasem alaajel 2021-06-15 01:05:53 +04:00
parent 887c730aa9
commit 341ee34eb0
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ applyPatch() {
fi
echo "$basedir/$target"
cd "$basedir/$target"
#git checkout -d origin
git checkout $branch
echo "Resetting $target to $what..."
git config commit.gpgSign false
echo " Applying patches to $target..."

View File

@ -29,7 +29,7 @@ savePatches() {
target=$2
branch=$3
cd "$basedir/$target"
git format-patch --no-stat -N -o "../${what}-Patches/" $branch
git format-patch --no-stat -N -o "../${what}-Patches/" origin/$branch
cd "$basedir"
git add -A "${what}-Patches"
if [ "$clean" != "clean" ]; then