Introduction
Introduction Statistics Contact Development Disclaimer Help
Quote input variables - libgrapheme - unicode string library
git clone git://git.suckless.org/libgrapheme
Log
Files
Refs
README
LICENSE
---
commit c58eb2ceb965785dbe9fecb688e10250d17aeca7
parent 0516e8545dc78a808f737831a04d75f06cb875b3
Author: Laslo Hunhold <[email protected]>
Date: Mon, 29 Aug 2022 10:30:00 +0200
Quote input variables
The passed values can be expected to never contain spaces, but it's
better to be safe. Just theoretically, nobody is prevented from using
a sh-binary located in "/opt/my favourite bins/sh".
Signed-off-by: Laslo Hunhold <[email protected]>
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -243,10 +243,10 @@ libgrapheme.so: $(SRC:=.o)
$(CC) -o $@ $(SOFLAGS) $(LDFLAGS) $(SRC:=.o)
$(MAN3:=.3):
- SH=$(SH) MAN_DATE=$(MAN_DATE) UNICODE_VERSION=$(UNICODE_VERSION) $(SH)…
+ SH="$(SH)" MAN_DATE="$(MAN_DATE)" UNICODE_VERSION="$(UNICODE_VERSION)"…
$(MAN7:=.7):
- SH=$(SH) MAN_DATE=$(MAN_DATE) UNICODE_VERSION=$(UNICODE_VERSION) $(SH)…
+ SH="$(SH)" MAN_DATE="$(MAN_DATE)" UNICODE_VERSION="$(UNICODE_VERSION)"…
benchmark: $(BENCHMARK)
for m in $(BENCHMARK); do ./$$m; done
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.