diff options
-rwxr-xr-x | scripts/build-librewolf-dpkg.sh | 4 |
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 |