xbps-src: quote $wrksrc

Allows spaces in the directory name
This commit is contained in:
beefcurtains 2015-07-29 08:17:37 +00:00
parent 9c34767b3e
commit 3c424a73f6
5 changed files with 11 additions and 11 deletions

View file

@ -41,7 +41,7 @@ fi
# If template defines do_extract() use it rather than the hooks.
if declare -f do_extract >/dev/null; then
[ ! -d "$wrksrc" ] && mkdir -p $wrksrc
cd $wrksrc
cd "$wrksrc"
run_func do_extract
else
if [ -n "$build_style" ]; then
@ -60,7 +60,7 @@ else
fi
[ -d $wrksrc ] && cd $wrksrc
[ -d "$wrksrc" ] && cd "$wrksrc"
# If template defines post_extract(), use it.
if declare -f post_extract >/dev/null; then