about summary refs log tree commit diff stats
path: root/build_and_test_until
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-08 19:11:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-08 19:16:08 -0700
commiteb917331a8de7ee724cd1eec5d0b9bb6ef76fae2 (patch)
tree59f0718cbc72b323660940eef90a986b376c64f0 /build_and_test_until
parent1baa04dbd4c77d18b906fd185c762f613b36baa0 (diff)
downloadmu-eb917331a8de7ee724cd1eec5d0b9bb6ef76fae2.tar.gz
2942 - switch scripts to bash
I'm already using grep and perl, bash is no worse, and it's *much* nicer
to work in than plain Bourne sh.
Diffstat (limited to 'build_and_test_until')
-rwxr-xr-xbuild_and_test_until4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_and_test_until b/build_and_test_until
index b86249c6..80a6357f 100755
--- a/build_and_test_until
+++ b/build_and_test_until
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Load all files sorting before the given argument.
 # You can pass in a prefix, but files matching the prefix *won't* be included.
 
@@ -10,7 +10,7 @@ make --no-print-directory enumerate/enumerate
 cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu
 make --no-print-directory autogenerated_lists
 set +v
-if [ `uname` = "Darwin" ]
+if [[ `uname` == "Darwin" ]]
 then
   # Darwin is shit and otherwise thinks mu_bin is newer than the files it just
   # generated when called from test_all_layers.