diff options
author | Qrius <[email protected]> | 2025-01-14 13:16:57 +0100 |
---|---|---|
committer | Qrius <[email protected]> | 2025-01-14 13:16:57 +0100 |
commit | fc3922b4bf4d712b78ffcdd48abef958f78c36f6 (patch) | |
tree | 1ef45f0e3d44f93e341415e7767e68456422ee47 | |
parent | d81a92d0038284b80cba52b680acf01700584b26 (diff) | |
download | skaldpress-fc3922b4bf4d712b78ffcdd48abef958f78c36f6.tar.gz skaldpress-fc3922b4bf4d712b78ffcdd48abef958f78c36f6.zip |
Delete tmp dir
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | packaging/package_debian.sh | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,4 @@ target/ templates/ content/ +*.deb 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}" |