From 798a2cb73ce68ecb1068be1f5a6e93d54150f0c4 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 20 Jul 2009 19:16:53 -0400 Subject: any support: use relative symlinks Signed-off-by: Aaron Griffin --- misc-scripts/ftpdir-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc-scripts') 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 -- cgit v1.2.3-54-g00ecf