diff options
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -217,8 +217,9 @@ for A in ${ARCHES[@]}; do if ! /bin/cp "$f" "$ftppath_any"; then die "error: failure while copying files to $ftppath_any" fi - if ! ln -s "$ftppath_any/$f" "$ftppath/$f"; then - die "error: failed to make link for $f." + bf=$(basename $f) + if ! ln -s "$ftppath_any/$bf" "$ftppath/$bf"; then + die "error: failed to make link for $bf." fi done fi |