From 68d05f7588cc8187600f306b82742335a3af5f57 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Oct 2011 00:37:45 +0200 Subject: [PATCH] xbps-src: print pkgname if Add_dependency fails. --- xbps-src/shutils/tmpl_funcs.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/tmpl_funcs.sh.in b/xbps-src/shutils/tmpl_funcs.sh.in index b8f4dd35a14..deb224ad79d 100644 --- a/xbps-src/shutils/tmpl_funcs.sh.in +++ b/xbps-src/shutils/tmpl_funcs.sh.in @@ -192,7 +192,7 @@ Add_dependency() *) msg_error "Unknown dependency type for $pkgname.\n" ;; esac - [ -z "$pkgname" ] && msg_error "Add_dependency: pkgname empty!\n" + [ -z "$pkgname" ] && msg_error "[$pkgname] Add_dependency: pkgname empty!\n" if [ -f $XBPS_SRCPKGDIR/${pkgname}/${pkgname}.depends ]; then . $XBPS_SRCPKGDIR/${pkgname}/${pkgname}.depends