]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/emscripten.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / src / tools / emscripten.jam
index 2ad1b804a5b353b4c19acbb16e71d486aba42a10..c9a0009dba4bc48143995dfb1e65914c13feb23c 100644 (file)
@@ -21,9 +21,10 @@ rule init ( version ? :  command * : options * )
         : $(command) ] ;
 
     # Determine the version
-    local command-string = $(command:J=" ") ;
     if $(command)
-    {    
+    {
+        local command-string = \"$(command)\" ;
+        command-string = $(command-string:J=" ") ;
         version ?= [ MATCH "([0-9.]+)"
             : [ SHELL "$(command-string) --version" ] ] ;
     }