Browse Source

Changed all the scripts using bashisms to use /bin/bash.

David Martínez Moreno 17 years ago
parent
commit
65e1a6c0d4
3 changed files with 3 additions and 3 deletions
  1. 1 1
      aoe-mkdevs
  2. 1 1
      aoe-mkshelf.in
  3. 1 1
      aoe-stat

+ 1 - 1
aoe-mkdevs

@@ -32,6 +32,6 @@ export n_partitions
 mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
 i=0
 while test $i -lt $n_shelves; do
-	sh $mkshelf $dir $i
+	$mkshelf $dir $i
 	i=`expr $i + 1`
 done

+ 1 - 1
aoe-mkshelf.in

@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 if test "$#" != "2"; then
 	echo "Usage: `basename $0` {dir} {shelfaddress}" 1>&2

+ 1 - 1
aoe-stat

@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 # collate and present sysfs information about AoE storage
 
 set -e