From b65fd05078fab48c4352609b2d7befa118a75b0f Mon Sep 17 00:00:00 2001 From: Francois Charette Date: Tue, 12 May 2009 11:42:27 +0200 Subject: fixed filename in creation of symlinks Signed-off-by: Aaron Griffin --- db-update | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db-update') diff --git a/db-update b/db-update index ace0d0e..5b011c2 100755 --- a/db-update +++ b/db-update @@ -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 -- cgit v1.2.3