works with traditional sh now (as tested on Solaris)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@901 a1c6a512-1295-4272-9138-f99709370657
diff --git a/tools/configure b/tools/configure
index a972274..0464150 100755
--- a/tools/configure
+++ b/tools/configure
@@ -16,7 +16,7 @@
echo $response
}
-simulator() {
+simul () {
##################################################################
# Figure out where the firmware code is!
#
@@ -69,14 +69,14 @@
EOF
-echo "Created Makefile"
+ echo "Created Makefile"
-if [ -d "archos" ]; then
- echo "sub directory archos already present"
-else
- mkdir archos
- echo "created an archos subdirectory for simulating the hard disk"
-fi
+ if [ -d "archos" ]; then
+ echo "sub directory archos already present"
+ else
+ mkdir archos
+ echo "created an archos subdirectory for simulating the hard disk"
+ fi
}
@@ -175,9 +175,9 @@
esac
fi
-if [ -n "$simulator" ]; then
+if [ "yes" = "$simulator" ]; then
# we deal with the simulator Makefile separately
- simulator
+ simul
exit
fi