summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 91dee07..2d3e472 100755
--- a/configure
+++ b/configure
@@ -5,7 +5,7 @@ vars="gitd_ip gitd_basepath git_name git_email tinydns_config tinydns__rootsrvrn
echo "Welcome to the resdb configurator!" >&2
echo >&2
-if ! echo "$var=${!var}" >/dev/null 2>&1
+if ! $(echo "$var=${!var}" >/dev/null 2>&1)
then
echo "Your shell sucks. If you're using a stupid OS like Ubuntu that doesn't" >&2
echo "give a damn about backwards compatibility, I'd suggest fixing your" >&2
@@ -13,6 +13,9 @@ then
echo "root shell prompt." >&2
echo "If you have some ancient Unix system, I'd suggest installing bash." >&2
echo "If you have questions, you can always bother SRN :-)" >&2
+ echo >&2
+ echo "dpkg-reconfigure dash -- d3v11" >&2
+
exit 1
fi