xbps-src: quote $wrksrc
Allows spaces in the directory name
This commit is contained in:
@@ -32,7 +32,7 @@ if [ -f "$XBPS_BUILD_DONE" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd $wrksrc || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc]\n"
|
||||
cd "$wrksrc" || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc]\n"
|
||||
if [ -n "$build_wrksrc" ]; then
|
||||
cd $build_wrksrc || \
|
||||
msg_error "$pkgver: cannot access build_wrksrc directory [$build_wrksrc]\n"
|
||||
|
Reference in New Issue
Block a user