From 986aa39f98ea01a365759e4631db5e1ddc37a5e8 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Wed, 11 Mar 2015 17:00:01 +0100 Subject: [PATCH] Fix quoting of special $@ parameter A plain $@ parameter expands to: $1 $2 $3 ... which may split arguments that contain spaces. Better use "$@" which expands to "$1" "$2" "$3" ... and thus excapes each argument correctly and yet indivdually. --- code/corebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/corebuild b/code/corebuild index 3cbd6e1..1064458 100755 --- a/code/corebuild +++ b/code/corebuild @@ -13,4 +13,4 @@ ocamlbuild \ -cflags "-w @A-4-33-41-42-43-34-44" \ -cflags -strict-sequence \ -cflags -principal \ - $@ + "$@"