summaryrefslogtreecommitdiff
path: root/misc-scripts/ftpdir-cleanup
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-07-20 19:16:53 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-20 19:16:53 -0400
commit798a2cb73ce68ecb1068be1f5a6e93d54150f0c4 (patch)
treea36cc1db3467d04f9a3c28773ae693689dfcdfb1 /misc-scripts/ftpdir-cleanup
parentc912283df84f0583496c27a0935d5946ba4dd7cf (diff)
any support: use relative symlinks
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts/ftpdir-cleanup')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup2
1 files changed, 1 insertions, 1 deletions
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