xbps-src: fix previous rofl.

This commit is contained in:
Juan RP 2011-10-22 00:48:34 +02:00
parent dd612f06fd
commit f3e51e2e25
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ Add_dependency()
*) msg_error "[$pkgname] Unknown dependency type for $pkgn.\n" ;; *) msg_error "[$pkgname] Unknown dependency type for $pkgn.\n" ;;
esac esac
[ -z "$pkgn" ] && msg_error "[$pkgn] Add_dependency: pkgname empty!\n" [ -z "$pkgn" ] && msg_error "[$pkgname] Add_dependency: pkgname empty!\n"
if [ -f $XBPS_SRCPKGDIR/${pkgn}/${pkgn}.depends ]; then if [ -f $XBPS_SRCPKGDIR/${pkgn}/${pkgn}.depends ]; then
. $XBPS_SRCPKGDIR/${pkgn}/${pkgn}.depends . $XBPS_SRCPKGDIR/${pkgn}/${pkgn}.depends