mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xbps-src: correctly change working directory for post_fetch
This commit is contained in:
parent
c4f322914c
commit
054569c364
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ else
|
||||||
run_pkg_hooks "do-fetch"
|
run_pkg_hooks "do-fetch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd ${XBPS_BUILDDIR} || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc]\n"
|
||||||
# if templates defines post_fetch(), use it.
|
# if templates defines post_fetch(), use it.
|
||||||
if declare -f post_fetch >/dev/null; then
|
if declare -f post_fetch >/dev/null; then
|
||||||
run_func post_fetch
|
run_func post_fetch
|
||||||
|
|
Loading…
Add table
Reference in a new issue