common/xbps-src: use ch_wrksrc in doinstall.
This commit is contained in:
parent
2059f871fd
commit
2810b865cb
1 changed files with 1 additions and 4 deletions
|
@ -28,10 +28,7 @@ done
|
||||||
|
|
||||||
XBPS_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_install_done"
|
XBPS_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_install_done"
|
||||||
|
|
||||||
cd "$wrksrc" || msg_error "$pkgver: cannot access to wrksrc [$wrksrc]\n"
|
ch_wrksrc
|
||||||
if [ -n "$build_wrksrc" ]; then
|
|
||||||
cd $build_wrksrc || msg_error "$pkgver: cannot access to build_wrksrc [$build_wrksrc]\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$SUBPKG_MODE" = "no" ]; then
|
if [ "$SUBPKG_MODE" = "no" ]; then
|
||||||
if [ ! -f $XBPS_INSTALL_DONE ] || [ -f $XBPS_INSTALL_DONE -a -n "$XBPS_BUILD_FORCEMODE" ]; then
|
if [ ! -f $XBPS_INSTALL_DONE ] || [ -f $XBPS_INSTALL_DONE -a -n "$XBPS_BUILD_FORCEMODE" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue