summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-02 20:18:49 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-02 20:18:49 +0100
commit20fcc72ae160935f745a8433529eb48a9021c631 (patch)
treea2d7acd305e001c332c181bd3f2b1938e65102fe
parentmake second script executable (diff)
downloadlibrewolf-debian-20fcc72ae160935f745a8433529eb48a9021c631.tar.gz
librewolf-debian-20fcc72ae160935f745a8433529eb48a9021c631.tar.bz2
librewolf-debian-20fcc72ae160935f745a8433529eb48a9021c631.zip
fix directory used for build
-rwxr-xr-xscripts/build-librewolf-dpkg.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build-librewolf-dpkg.sh b/scripts/build-librewolf-dpkg.sh
index 13eb27d..0daba30 100755
--- a/scripts/build-librewolf-dpkg.sh
+++ b/scripts/build-librewolf-dpkg.sh
@@ -6,6 +6,8 @@ test -z "${librewolf_dpkg_conf}" && export librewolf_dpkg_conf="$( find "$( dirn
test ! -r "${librewolf_dpkg_conf}" && { echo "Unable to load config file, which should be named the same as this script but with a .conf ending. Aborted." 1>&2 ; exit 1 ; }
. "${librewolf_dpkg_conf}"
+work_dir=${CI_PROJECT_DIR}/prepared/
+
# Aborts the script upon any faliure
set -e;
@@ -54,7 +56,7 @@ bash rustup.sh -y
source /root/.cargo/env
cargo install --version 0.16.0 cbindgen
-cd ${work_dir}
+cd ${work_dir}/prepared
dpkg-source -x librewolf_${pkgrel}-${pkgver}.dsc ${output_dir}
cd ${output_dir}
dpkg-buildpackage -us -uc -d
bgstack15