xbps-src: adapt for xbps-base-chroot -> base_chroot rename.

This commit is contained in:
Juan RP 2011-06-23 03:25:23 +02:00
parent 98b4e67bda
commit 93ff6b22d7
2 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ $ xbps-src chroot
---------------------- ----------------------
Press Control + D to exit from the chroot. The following targets will require Press Control + D to exit from the chroot. The following targets will require
to be done in the chroot (_once xbps-base-chroot is installed_): to be done in the chroot (_once base-chroot is installed_):
*build, configure, install and install-destdir*. *build, configure, install and install-destdir*.
+ +
+ +

View file

@ -262,9 +262,9 @@ case "$target" in
bootstrap) bootstrap)
. $XBPS_SHUTILSDIR/tmpl_funcs.sh . $XBPS_SHUTILSDIR/tmpl_funcs.sh
. $XBPS_SHUTILSDIR/pkgtarget_funcs.sh . $XBPS_SHUTILSDIR/pkgtarget_funcs.sh
[ ! -d $XBPS_SRCPKGDIR/xbps-base-chroot ] && \ [ ! -d $XBPS_SRCPKGDIR/base-chroot ] && \
msg_error "Cannot find $XBPS_SRCPKGDIR/xbps-base-chroot directory!\n" msg_error "Cannot find $XBPS_SRCPKGDIR/base-chroot directory!\n"
cd $XBPS_SRCPKGDIR/xbps-base-chroot && _ORIGINPKG="$(basename_cwd)" cd $XBPS_SRCPKGDIR/base-chroot && _ORIGINPKG="$(basename_cwd)"
setup_tmpl ${_ORIGINPKG} && install_pkg $pkgname setup_tmpl ${_ORIGINPKG} && install_pkg $pkgname
;; ;;
build|configure) build|configure)