xbps-src: print pkgname if Add_dependency fails.

This commit is contained in:
Juan RP 2011-10-22 00:37:45 +02:00
parent 5f0a23c68b
commit 68d05f7588
1 changed files with 1 additions and 1 deletions

View File

@ -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