common/xbps-src: use ch_wrksrc in doinstall.

This commit is contained in:
Enno Boland 2017-11-18 14:15:55 +01:00
parent 2059f871fd
commit 2810b865cb
1 changed files with 1 additions and 4 deletions

View File

@ -28,10 +28,7 @@ done
XBPS_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_install_done"
cd "$wrksrc" || msg_error "$pkgver: cannot access to wrksrc [$wrksrc]\n"
if [ -n "$build_wrksrc" ]; then
cd $build_wrksrc || msg_error "$pkgver: cannot access to build_wrksrc [$build_wrksrc]\n"
fi
ch_wrksrc
if [ "$SUBPKG_MODE" = "no" ]; then
if [ ! -f $XBPS_INSTALL_DONE ] || [ -f $XBPS_INSTALL_DONE -a -n "$XBPS_BUILD_FORCEMODE" ]; then