Browse Source

Use /bin/sh instead of bash for more portability (#176)

* Use /bin/sh instead of bash for more portability

I did a cursory glance of the scripts, I didn't see any bashisms.

* Quote strings. I guess I missed some bashisms

* More bashism madness: quote "true", use single =
Ray Lai 7 years ago
parent
commit
d20b9c2b1b
4 changed files with 4 additions and 4 deletions
  1. 1 1
      bootstrap.sh
  2. 1 1
      util/VMPXE
  3. 1 1
      util/gdb-kstack.sh
  4. 1 1
      util/run-minicluster.sh

+ 1 - 1
bootstrap.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 git submodule init
 git submodule update

+ 1 - 1
util/VMPXE

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 build sys/src/9/amd64 && \
 	cp sys/src/9/amd64/harvey.32bit /var/lib/tftpboot && \
 	echo "OK" &&  \

+ 1 - 1
util/gdb-kstack.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 if [ $# -lt 1 ]; then
 	echo "usage $0 host:port"

+ 1 - 1
util/run-minicluster.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 if [ $# -lt 1 ]; then
 	echo usage: $0 ethername