summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2013-04-16 03:36:42 +0000
committerd3v11 <d3v11@d3v11.ano>2013-04-16 03:36:42 +0000
commit373d7de3ba941a7a41ef923de3c1bcc8aadf2906 (patch)
tree09f1244d325b696fb8405f9de87a41c27d7c3f38 /configure
parent12ddf0c2eb354cfb9946bdb8b2629bd40d005135 (diff)
downloadresdb-373d7de3ba941a7a41ef923de3c1bcc8aadf2906.tar.gz
resdb-373d7de3ba941a7a41ef923de3c1bcc8aadf2906.zip
[configure] fixes
Diffstat (limited to 'configure')
-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