From e4195e25c863ce6603dca0edecffb630938cfc43 Mon Sep 17 00:00:00 2001
From: Vasilij Schneidermann <mail@vasilij.de>
Date: Wed, 4 Mar 2020 22:01:46 +0100
Subject: [PATCH] srfi-18: Quote build script variables
---
srfi-18/0.1.5/build-srfi-18 | 2 +-
srfi-18/0.1.5/build-srfi-18.bat | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
mode change 100644 => 100755 srfi-18/0.1.5/build-srfi-18
diff --git a/srfi-18/0.1.5/build-srfi-18 b/srfi-18/0.1.5/build-srfi-18
old mode 100644
new mode 100755
index 7f970c1..fde883a
a
|
b
|
|
1 | 1 | #!/bin/sh |
2 | 2 | |
3 | | if $CHICKEN_CSI -e "(if (symbol? #:foo) (exit 0) (exit 1))"; then |
| 3 | if "$CHICKEN_CSI" -e "(if (symbol? #:foo) (exit 0) (exit 1))"; then |
4 | 4 | cp srfi-18.types.in srfi-18.types |
5 | 5 | echo '(srfi-18#thread-wait-for-i/o! (#(procedure #:clean #:enforce) srfi-18#thread-wait-for-i/o! (fixnum #!optional symbol) undefined))' >> srfi-18.types |
6 | 6 | else |
diff --git a/srfi-18/0.1.5/build-srfi-18.bat b/srfi-18/0.1.5/build-srfi-18.bat
index 24972f6..227b64d 100644
a
|
b
|
|
1 | 1 | @echo off |
2 | 2 | |
3 | | %CHICKEN_CSI% -e "(if (symbol? #:foo) (exit 0) (exit 1))" |
| 3 | "%CHICKEN_CSI%" -e "(if (symbol? #:foo) (exit 0) (exit 1))" |
4 | 4 | |
5 | 5 | IF errorlevel 1 ( |
6 | 6 | copy srfi-18.types.in srfi-18.types |
… |
… |
IF errorlevel 1 ( |
10 | 10 | echo ^(srfi-18#thread-wait-for-i/o! ^(#^(procedure #:clean #:enforce^) srfi-18#thread-wait-for-i/o! ^(fixnum #!optional symbol^) undefined^)^) >> srfi-18.types |
11 | 11 | ) |
12 | 12 | |
13 | | %CHICKEN_CSC% -C %CFLAGS% -L %LDFLAGS% %* |
| 13 | "%CHICKEN_CSC%" -C "%CFLAGS%" -L "%LDFLAGS%" %* |