[vte/wip/inigomartinez/meson: 1/2] build: Changed box drawing script to read input file as paremeter
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/inigomartinez/meson: 1/2] build: Changed box drawing script to read input file as paremeter
- Date: Thu, 6 Jul 2017 16:06:12 +0000 (UTC)
commit 6720e02a12b2c4d217cd8c91f8921caf56c6ee64
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Mon Jul 3 09:36:14 2017 +0200
build: Changed box drawing script to read input file as paremeter
Changed box_drawing_generate.sh script to read from a file passed as
parameter explicitly instead of using input redirection.
src/Makefile.am | 2 +-
src/box_drawing_generate.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index a1120cc..1a50c2c 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) $(GLIB_GENMARSHAL) --prefix=_vte_marshal --header --body --internal $< > $@
diff --git a/src/box_drawing_generate.sh b/src/box_drawing_generate.sh
index 058ae6b..7c97d26 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"
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]