summaryrefslogtreecommitdiff
path: root/abslibre
diff options
context:
space:
mode:
Diffstat (limited to 'abslibre')
-rwxr-xr-xabslibre8
1 files changed, 4 insertions, 4 deletions
diff --git a/abslibre b/abslibre
index 6b21d24..5c57c41 100755
--- a/abslibre
+++ b/abslibre
@@ -2,7 +2,7 @@
set -e
-FTP_BASE=/srv/repo/main
+root_dir=/srv/repo/main
ABSLIBRE=/srv/abslibre
ABSGIT=/srv/git/abslibre/abslibre.git
# Remote
@@ -111,11 +111,11 @@ create_tarballs() {
arch=$(basename $(dirname $repo))
# Remove the old one
- mkdir -p $FTP_BASE/$baserepo/os/$arch/
- rm -fv $FTP_BASE/$baserepo/os/$arch/$baserepo.abs.tar.gz
+ mkdir -p ${root_dir}/$baserepo/os/$arch/
+ rm -fv ${root_dir}/$baserepo/os/$arch/$baserepo.abs.tar.gz
# Create a new one joining arch and any
# Remove the first part of the path (it could be $repo but any isn't hit)
- bsdtar -czf $FTP_BASE/$baserepo/os/$arch/$baserepo.abs.tar.gz \
+ bsdtar -czf ${root_dir}/$baserepo/os/$arch/$baserepo.abs.tar.gz \
-s ":${ABSLIBRE}/[a-z0-9_]\+/[a-z]\+::" \
$repo/* ${ABSLIBRE}/any/${baserepo}/*