about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-22 08:09:33 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-22 08:09:33 -0700
commit75f2c1239dd4d2b9775af3e40a7de3a9cfb85b3f (patch)
treea5fe095d98ed71685ded539eab4410218038c48c /subx
parent133e8bcf26b878190c5280df3bb89ece149158bf (diff)
downloadmu-75f2c1239dd4d2b9775af3e40a7de3a9cfb85b3f.tar.gz
5446
Really fix CI.
Diffstat (limited to 'subx')
-rwxr-xr-xsubx/build8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/build b/subx/build
index 79f7707b..75838c64 100755
--- a/subx/build
+++ b/subx/build
@@ -102,13 +102,13 @@ grep -h "^[^[:space:]#].*) {$" subx.cc  |grep -v ":.*("  |sed 's/ {.*/;/'  |upda
 grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/\1,/'  |update test_list
 grep -h "^\s*void test_" subx.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  |update test_name_list
 
+older_than subx_bin subx.cc *_list && {
+  $CXX $CFLAGS subx.cc -o subx_bin
+}
+
 if [ $# -eq 0 ]
 then
 
-  older_than subx_bin subx.cc *_list && {
-    $CXX $CFLAGS subx.cc -o subx_bin
-  }
-
   # simple example programs
   for n in `seq 1 12`
   do