From 1eb1bd29d183ceb4863cc84a2fbc4bc2c3d0195d Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Thu, 25 Nov 2021 18:27:29 +0200 Subject: build options: allow CLI arguments with spaces This affects CLI arguments to ./build, ./rebuild, as well as when invoking any of scripts/*-build directly. Previously, if such CLI argument contained a space, then the argument was incorrectly split. Now spaces are taken correctly. The issue was that the scripts used unquoted $@, which is identical to unquoted $*, i.e. it's field-split on IFS. Now we use quoted "$@", which preserves the arguments exactly. Also, previously scripts/fribidi-build ignored the CLI arguments, and now it doesn't (but we still override any -jN option with -j1). --- rebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebuild') diff --git a/rebuild b/rebuild index a23b963..c8bbcd6 100755 --- a/rebuild +++ b/rebuild @@ -4,4 +4,4 @@ export LC_ALL=C ./update ./clean -./build $@ +./build "$@" -- cgit v1.2.3