diff options
-rwxr-xr-x | db-move | 2 | ||||
-rwxr-xr-x | db-update | 2 | ||||
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 |