xbps-src: xbps-src-doextract: change cwd to wrksrc for post_extract().

This commit is contained in:
Juan RP 2014-07-17 15:54:37 +02:00
parent 32031839a5
commit 9067c2e4f7

View file

@ -63,6 +63,8 @@ fi
touch -f $XBPS_EXTRACT_DONE
[ -d $wrksrc ] && cd $wrksrc
# If template defines post_extract(), use it.
if declare -f post_extract >/dev/null; then
run_func post_extract