summaryrefslogtreecommitdiffstats
path: root/misc-scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-07-21 01:16:53 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-21 01:16:53 +0200
commit798a2cb73ce68ecb1068be1f5a6e93d54150f0c4 (patch)
treea36cc1db3467d04f9a3c28773ae693689dfcdfb1 /misc-scripts
parentc912283df84f0583496c27a0935d5946ba4dd7cf (diff)
downloaddbscripts-798a2cb73ce68ecb1068be1f5a6e93d54150f0c4.tar.gz
dbscripts-798a2cb73ce68ecb1068be1f5a6e93d54150f0c4.tar.xz
any support: use relative symlinks
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts')
-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