taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 89c3afcf50d2a05b9ee2c091b05a8151e76560af
parent 0af9df2704e99405813d689b0bd2c5150ed0944e
Author: Devan Carpenter <devan@taler.net>
Date:   Tue, 13 Feb 2024 13:01:48 -0500

aptly: cleanup variable usage

Diffstat:
Maptly/aptly-publish.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/aptly/aptly-publish.sh b/aptly/aptly-publish.sh @@ -2,9 +2,11 @@ set -exou pipefail +REPOROOT="${HOME}"/.aptly/public DATESTAMP=$(date -Iseconds) -rm -rf $HOME/garbagecollect -mv $HOME/.aptly/public/pool $HOME/garbagecollect || true + +rm -rf "${HOME}"/garbagecollect +mv "${REPOROOT}"/pool "${HOME}"/garbagecollect || true aptly repo drop --force taler-ci-snapshots || true aptly db cleanup aptly repo create -distribution=bookworm -component=main taler-ci-snapshots