From 373d7de3ba941a7a41ef923de3c1bcc8aadf2906 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Tue, 16 Apr 2013 03:36:42 +0000 Subject: [configure] fixes --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3