diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-21 01:16:53 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-21 01:16:53 +0200 |
commit | 798a2cb73ce68ecb1068be1f5a6e93d54150f0c4 (patch) | |
tree | a36cc1db3467d04f9a3c28773ae693689dfcdfb1 /misc-scripts/ftpdir-cleanup | |
parent | c912283df84f0583496c27a0935d5946ba4dd7cf (diff) | |
download | dbscripts-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/ftpdir-cleanup')
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 2 |
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 |