summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-move2
-rwxr-xr-xdb-update2
-rwxr-xr-xmisc-scripts/ftpdir-cleanup2
3 files changed, 3 insertions, 3 deletions
diff --git a/db-move b/db-move
index 0cc8aa4..8200810 100755
--- a/db-move
+++ b/db-move
@@ -112,7 +112,7 @@ if [ -d "$packagename/repos/$svnrepo_from" ]; then
mv $repoto.db.tar.$DB_COMPRESSION* $ftppath_to/$architecture
if [ "${_arch}" == "any" ]; then
mv ${_pkgfile} $ftppath_to/any
- ln -s $ftppath_to/any/${_pkgfile} $ftppath_to/$architecture/
+ ln -s ../any/${_pkgfile} $ftppath_to/$architecture/
else
mv ${_pkgfile} $ftppath_to/$architecture
fi
diff --git a/db-update b/db-update
index 9d9f7eb..1c6739a 100755
--- a/db-update
+++ b/db-update
@@ -209,7 +209,7 @@ for current_arch in ${ARCHES[@]}; do
die "error: failure while copying files to $ftppath_any"
fi
bf=$(basename $f)
- if ! ln -s "$ftppath_any/$bf" "$ftppath/$bf"; then
+ if ! ln -s "../any/$bf" "$ftppath/$bf"; then
die "error: failed to make link for $bf."
fi
done
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index ca411cf..e319b99 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -107,7 +107,7 @@ for mf in $missfiles; do
af_satisfied=0
if [ -e "${ftppath_base}/any/${mf}" ]; then
echo "Restoring missing 'any' symlink: ${mf}"
- ln -s "${ftppath_base}/any/${mf}" "${ftppath}"
+ ln -s "../any/${mf}" "${ftppath}"
else
MISSINGFILES="${MISSINGFILES} ${mf}"
fi