mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-31 18:13:58 -05:00
changes
This commit is contained in:
parent
a43e824804
commit
b942c5d032
1 changed files with 8 additions and 8 deletions
|
@ -12,31 +12,31 @@ if [ ! -f "$firefox" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[debug] firefox file = '$firefox'"
|
|
||||||
echo "[debug] tmpdir = '$tmpdir'"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo "Removing '$tmpdir'..."
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
mkdir $tmpdir
|
mkdir $tmpdir
|
||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
|
echo "Extracting '$firefox'..."
|
||||||
tar xf ../$firefox
|
tar xf ../$firefox
|
||||||
cd firefox-$(cat ../version)
|
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:
|
echo $i:
|
||||||
patch -p1 -i ../../$i
|
patch -p1 -i ../../$i
|
||||||
patch -R -p1 -i ../../$i
|
patch -R -p1 -i ../../$i
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
echo "Removing '$tmpdir'..."
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "check-patchfail.sh: All patches succeeded."
|
echo "All patches succeeded."
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue