summaryrefslogtreecommitdiff
path: root/abuild
diff options
context:
space:
mode:
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"
}