diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-07-03 09:36:14 +0200 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2017-08-05 12:08:16 +0200 |
commit | 81076a12d5ba874fe29863ac6f98e8777e075e1e (patch) | |
tree | 650bdd3178f64482be2dd9e2b400afa6949722ba | |
parent | 723ea607ae49f61b2f23af8c7ea43144e9acfb69 (diff) | |
download | vte-81076a12d5ba874fe29863ac6f98e8777e075e1e.tar.gz |
build: Use input file as paremeter
Changed box_drawing_generate.sh script to read from a file passed as
parameter explicitly instead of using input redirection.
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rwxr-xr-x | src/box_drawing_generate.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 21acac68..fd8d5b19 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -148,7 +148,7 @@ EXTRA_DIST += box_drawing.txt box_drawing_generate.sh iso2022.txt CLEANFILES += $(BUILT_SOURCES) stamp-vtetypebuiltins.h box_drawing.h: box_drawing.txt box_drawing_generate.sh - $(AM_V_GEN) $(srcdir)/box_drawing_generate.sh < $< > $@ + $(AM_V_GEN) $(srcdir)/box_drawing_generate.sh $< > $@ marshal.cc: marshal.list $(AM_V_GEN) echo '#include "marshal.h"' > $@ \ diff --git a/src/box_drawing_generate.sh b/src/box_drawing_generate.sh index 058ae6be..6451c4a5 100755 --- a/src/box_drawing_generate.sh +++ b/src/box_drawing_generate.sh @@ -61,7 +61,7 @@ while [ $pos -lt $((0x2580)) ]; do done echo pos=$((pos+1)) -done +done < "$1" cat <<"END" }; |