summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-07-12 21:12:08 +0200
committerDan McGee <dan@archlinux.org>2007-07-12 21:22:16 +0200
commitfd3a1a92c8ffe5230e40a027838442752a843da9 (patch)
tree99f1314a400a3ea8d6cd4c112ca0f6cf3746d94e /scripts
parent20f73d6299c08fa79c2c8edd3d1955e208e701cb (diff)
downloadpacman-fd3a1a92c8ffe5230e40a027838442752a843da9.tar.gz
pacman-fd3a1a92c8ffe5230e40a027838442752a843da9.tar.xz
Fix previous makepkg patch, and some pacman output.
makepkg: We still need the source files in $srcdir because PKGBUILDS need access to noextract() files and other file not handled by by extract_source(). (eg config files) query.c: Fix some output formating. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 137d58e5..d340252e 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -447,9 +447,11 @@ download_sources() {
local file=$(strip_url "$netfile")
if [ -f "$startdir/$file" ]; then
msg2 "$(gettext "Found %s in build dir")" "$file"
+ cp -s --remove-destination "$startdir/$file" "$srcdir/"
continue
elif [ -f "$SRCDEST/$file" ]; then
msg2 "$(gettext "Using cached copy of %s")" "$file"
+ cp -s --remove-destination "$SRCDEST/$file" "$srcdir/"
continue
fi