diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-27 03:08:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-27 03:08:59 +0100 |
commit | 69721f4e42fa296de2d5a568d07758888c354328 (patch) | |
tree | 3ae4240460a63d4a3e6c195dffa694c15de43e7b /test | |
parent | 88a00e08e0394c95f65836be043da75fa2a131f1 (diff) | |
download | dbscripts-69721f4e42fa296de2d5a568d07758888c354328.tar.gz dbscripts-69721f4e42fa296de2d5a568d07758888c354328.tar.xz |
Fix test: copy target of symlinks
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc index ba5d685..208400c 100644 --- a/test/lib/common.inc +++ b/test/lib/common.inc @@ -12,7 +12,7 @@ oneTimeSetUp() { local pkgversion local build pkgdir="$(mktemp -d /dev/shm/$(basename $0).XXXXXXXXXX)" - cp -r $(dirname ${BASH_SOURCE[0]})/../packages/* "${pkgdir}" + cp -Lr $(dirname ${BASH_SOURCE[0]})/../packages/* "${pkgdir}" msg 'Building packages...' for d in "${pkgdir}"/*; do pushd $d >/dev/null @@ -79,7 +79,7 @@ setUp() { for p in "${pkgdir}"/*; do pkg=$(basename $p) mkdir -p "${TMP}/svn-packages-copy/${pkg}"/{trunk,repos} - cp "${p}/PKGBUILD" "${TMP}/svn-packages-copy"/${pkg}/trunk/ + cp "${p}"/* "${TMP}/svn-packages-copy"/${pkg}/trunk/ svn add -q "${TMP}/svn-packages-copy"/${pkg} svn commit -q -m"initial commit of ${pkg}" "${TMP}/svn-packages-copy" done |