[arch-dev-public] [PATCH] commitpkg: dereference symlinks on package upload

Dan McGee dan at archlinux.org
Tue Feb 16 22:34:38 EST 2010


This is a regression introduced after switching to rsync in place of scp;
scp dereferenced symlinks automatically without need for a command-line
option.

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 commitpkg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commitpkg b/commitpkg
index 58d4e25..52ca2ac 100755
--- a/commitpkg
+++ b/commitpkg
@@ -84,7 +84,7 @@ for _arch in ${arch[@]}; do
 		fi
 
 		echo -n 'uploading '
-		rsync -c -h --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
+		rsync -c -h -L --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
 	done
 	archrelease $repo-${_arch} || abort
 done
-- 
1.7.0



More information about the arch-dev-public mailing list