diff options
author | Linux User <ncopa@buildozer.(none)> | 2008-11-08 09:38:07 +0000 |
---|---|---|
committer | Linux User <ncopa@buildozer.(none)> | 2008-11-08 09:38:07 +0000 |
commit | ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4 (patch) | |
tree | be2a545360facff4d222cb6df61711f0a99843c9 /abuild | |
parent | 57e3393b84669b43fcfd76f71f548782b5113246 (diff) | |
download | abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.gz abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.bz2 abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.tar.xz abuild-ddb0b05f6bcf0155239a115d74a2f7d40a1d06d4.zip |
display when fetching
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" } |