summaryrefslogtreecommitdiff
path: root/abuild
diff options
context:
space:
mode:
authorLinux User <ncopa@buildozer.(none)>2008-11-08 09:38:07 +0000
committerLinux User <ncopa@buildozer.(none)>2008-11-08 09:38:07 +0000
commitddb0b05f6bcf0155239a115d74a2f7d40a1d06d4 (patch)
treebe2a545360facff4d222cb6df61711f0a99843c9 /abuild
parent57e3393b84669b43fcfd76f71f548782b5113246 (diff)
downloadabuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.gz
abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.bz2
abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.xz
abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.zip
display when fetching
Diffstat (limited to 'abuild')
-rwxr-xr-xabuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/abuild b/abuild
index f18d7c0..5fd6350 100755
--- a/abuild
+++ b/abuild
@@ -28,8 +28,8 @@ default_cmds="sanitycheck builddeps clean fetch md5check unpack rootpkg"
# functions
msg() {
local sub=
- [ -n "$subpkgname" ] && sub="(sub)"
- [ -z "$quiet" ] && echo ">>> ${subpkgname:-$pkgname} $sub:" "$@" >&2
+ [ -n "$subpkgname" ] && sub=" ($pkgname)"
+ [ -z "$quiet" ] && echo ">>> ${subpkgname:-$pkgname}$sub:" "$@" >&2
}
warning() {
@@ -91,6 +91,7 @@ uri_fetch() {
msg "Partial download found. Trying to resume"
opts="$opts -c"
fi
+ msg "Fetching $uri"
wget $opts -O "$SRCDEST/$d.part" "$uri" \
&& mv "$SRCDEST/$d.part" "$SRCDEST/$d"
}