aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2016-02-27 11:15:49 -0500
committerTim Harder <radhermit@gmail.com>2016-02-27 11:15:49 -0500
commitaf0899c9f4d281df017b90c8cbd5f59c7c3f378f (patch)
tree7891dac7c877a560c3dcca066c8ec1bd5beb8f85
parentshell/bin/psite: various error message tweaks (diff)
downloadpkgcore-af0899c9f4d281df017b90c8cbd5f59c7c3f378f.tar.gz
pkgcore-af0899c9f4d281df017b90c8cbd5f59c7c3f378f.tar.bz2
pkgcore-af0899c9f4d281df017b90c8cbd5f59c7c3f378f.zip
shell/bin/psite: output pkg atom when no homepage is found
-rwxr-xr-xshell/bin/psite2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bin/psite b/shell/bin/psite
index eb09ba3b..4c74dcbb 100755
--- a/shell/bin/psite
+++ b/shell/bin/psite
@@ -24,7 +24,7 @@ fi
homepage=( $(_pkgattr homepage "$@") )
if [[ -z ${homepage[@]} ]]; then
- echo "${SCRIPT}: no homepage found" >&2
+ echo "${SCRIPT}: no homepage found: $1" >&2
exit 1
elif [[ ${#homepage[@]} -gt 1 ]]; then
echo "${SCRIPT}: multiple homepages found:" >&2