Merge pull request #3142 from henricm/fix-for-win-mono_string_to_utf8
[mono.git] / mono / arch / arm / dpiops.sh
index 1802eecc40bd6834b09473001f8551cb7c12b9c4..d3b93ff52ae84355b6c3d42e287de19e9ed4dcfe 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 OPCODES="AND EOR SUB RSB ADD ADC SBC RSC ORR BIC"
 CMP_OPCODES="TST TEQ CMP CMN"
@@ -6,7 +6,7 @@ MOV_OPCODES="MOV MVN"
 
 # $1: opcode list
 # $2: template
-function gen() {
+gen() {
        for i in $1; do
                sed "s/<Op>/$i/g" $2.th
        done