0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
This commit is contained in:
Bert van der Weerd 2022-04-11 07:06:01 +02:00
parent a43e824804
commit b942c5d032
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

View file

@ -12,31 +12,31 @@ if [ ! -f "$firefox" ]; then
exit 1
fi
echo "[debug] firefox file = '$firefox'"
echo "[debug] tmpdir = '$tmpdir'"
echo ""
echo "Removing '$tmpdir'..."
rm -rf $tmpdir
mkdir $tmpdir
cd $tmpdir
echo "Extracting '$firefox'..."
tar xf ../$firefox
cd firefox-$(cat ../version)
for i in $(cat assets/patches.txt); do
echo ""
echo "Testing patches..."
echo ""
for i in $(cat ../../assets/patches.txt); do
echo $i:
patch -p1 -i ../../$i
patch -R -p1 -i ../../$i
done
cd ../..
echo "Removing '$tmpdir'..."
rm -rf $tmpdir
echo ""
echo "check-patchfail.sh: All patches succeeded."
echo "All patches succeeded."
exit 0