xbps-src: print pkgname if Add_dependency fails.
This commit is contained in:
parent
5f0a23c68b
commit
68d05f7588
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ Add_dependency()
|
||||||
*) msg_error "Unknown dependency type for $pkgname.\n" ;;
|
*) msg_error "Unknown dependency type for $pkgname.\n" ;;
|
||||||
esac
|
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
|
if [ -f $XBPS_SRCPKGDIR/${pkgname}/${pkgname}.depends ]; then
|
||||||
. $XBPS_SRCPKGDIR/${pkgname}/${pkgname}.depends
|
. $XBPS_SRCPKGDIR/${pkgname}/${pkgname}.depends
|
||||||
|
|
Loading…
Reference in a new issue