about summary refs log tree commit diff stats
path: root/build_until
diff options
context:
space:
mode:
Diffstat (limited to 'build_until')
-rwxr-xr-xbuild_until4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_until b/build_until
index 8abdb5eb..520ec16a 100755
--- a/build_until
+++ b/build_until
@@ -23,8 +23,8 @@ set -v
 
 ( cd termbox && make; )
 
-grep -h "^[^[:space:]#].*) {$" mu.cc |grep -v ":.*(" |perl -pwe 's/ \{.*/;/' > function_list
-grep -h "^\s*void test_" mu.cc |perl -pwe 's/^\s*void (.*)\(\) \{.*/$1,/' > test_list
+grep -h "^[^[:space:]#].*) {$" mu.cc |grep -v ":.*(" |sed 's/ {.*/;/' > function_list
+grep -h "^\s*void test_" mu.cc |sed 's/^\s*void \(.*\)() {.*/\1,/' > test_list
 
 eval ${CXX:-c++} ${CXXFLAGS:-"-g -O3"} -Wall -Wextra -ftrapv -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu_bin