xbps-src: xbps-src-doextract: change cwd to wrksrc for post_extract().
This commit is contained in:
parent
32031839a5
commit
9067c2e4f7
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ fi
|
||||||
|
|
||||||
touch -f $XBPS_EXTRACT_DONE
|
touch -f $XBPS_EXTRACT_DONE
|
||||||
|
|
||||||
|
[ -d $wrksrc ] && cd $wrksrc
|
||||||
|
|
||||||
# If template defines post_extract(), use it.
|
# If template defines post_extract(), use it.
|
||||||
if declare -f post_extract >/dev/null; then
|
if declare -f post_extract >/dev/null; then
|
||||||
run_func post_extract
|
run_func post_extract
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue