summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-01-14 13:16:57 +0100
committerQrius <[email protected]>2025-01-14 13:16:57 +0100
commitfc3922b4bf4d712b78ffcdd48abef958f78c36f6 (patch)
tree1ef45f0e3d44f93e341415e7767e68456422ee47 /packaging
parentd81a92d0038284b80cba52b680acf01700584b26 (diff)
downloadskaldpress-fc3922b4bf4d712b78ffcdd48abef958f78c36f6.tar.gz
skaldpress-fc3922b4bf4d712b78ffcdd48abef958f78c36f6.zip
Delete tmp dir
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/package_debian.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/package_debian.sh b/packaging/package_debian.sh
index 6549717..f583ce4 100755
--- a/packaging/package_debian.sh
+++ b/packaging/package_debian.sh
@@ -5,11 +5,12 @@ set -o pipefail
tmpdir=$(mktemp -d)
dir="${tmpdir}/skaldpress"
+origdir="$(pwd)"
mkdir -p ${dir}
rm -r ${dir}
mkdir -p ${dir}
-cargo build --release
+cargo build --features guile --release
bindir=${dir}/usr/local/bin
mkdir -p ${bindir}
@@ -25,3 +26,7 @@ cp smp.1 ${mandir}/smp.1
cd ${tmpdir}
dpkg-deb --build skaldpress
+
+cd "${origdir}"
+cp "${tmpdir}/skaldpress.deb" "$(pwd)/skaldpress.deb"
+rm -r "${tmpdir}"