summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-01-18 22:59:43 -0500
committerB. Stack <bgstack15@gmail.com>2022-01-18 22:59:43 -0500
commitf2cbd5a45f96e506790b8f82f366668f1d2effcc (patch)
treec153d5ff1434a560abfe085408a5a06c95361839
parentattempt 1 for 96.0.1 (diff)
downloadlibrewolf-debian-f2cbd5a45f96e506790b8f82f366668f1d2effcc.tar.gz
librewolf-debian-f2cbd5a45f96e506790b8f82f366668f1d2effcc.tar.bz2
librewolf-debian-f2cbd5a45f96e506790b8f82f366668f1d2effcc.zip
fix hardcoded path for patches
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 9b827d1..d6b7185 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -197,7 +197,7 @@ librewolf/stop-undesired-requests.patch -p1
librewolf/about-dialog.patch -p1
EOF
else
- cp -pr $( sed -r "${git_source_dir}"/source/assets/patches.txt -e "s@^@/home/librewolf/debian/git/source/@" ) \
+ cp -pr $( sed -r "${git_source_dir}"/source/assets/patches.txt -e "s@^@/${git_source_dir}/source/@" ) \
"${debian_dir}"/patches/librewolf/
awk -F'/' '{print "librewolf/"$NF}' "${git_source_dir}"/source/assets/patches.txt | \
sed -r -e 's@$@ -p1@' >> "${debian_dir}"/patches/series
bgstack15