summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-update b/db-update
index a178996..bcfb882 100755
--- a/db-update
+++ b/db-update
@@ -131,11 +131,11 @@ for current_arch in ${ARCHES[@]}; do
ftppath="$FTP_BASE/$reponame/os/$current_arch"
ftppath_any="$FTP_BASE/$reponame/os/any"
- poolpath="$FTP_BASE/packages/os/$current_arch"
- poolpath_any="$FTP_BASE/packages/os/any"
+ poolpath="$FTP_BASE/$PKGPOOL_DIR/os/$current_arch"
+ poolpath_any="$FTP_BASE/$PKGPOOL_DIR/os/any"
# The following is used to create relative symlinks
- poolrel="../../../packages/os/$current_arch"
- poolrel_any="../../../packages/os/any"
+ poolrel="../../../$PKGPOOL_DIR/os/$current_arch"
+ poolrel_any="../../../$PKGPOOL_DIR/os/any"
if [ ! -d "$ftppath" ]; then
echo "FTP path for this repo ($reponame) is missing"