changeset 1105:df77b4da95f1 draft

[configure] fixes
author d3v11 <d3v11@d3v11.ano>
date Tue, 16 Apr 2013 03:36:42 +0000
parents 5016f753b47a
children 9bb8ef4df8da 797b210f6c9d
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Apr 16 03:14:29 2013 +0000
+++ b/configure	Tue Apr 16 03:36:42 2013 +0000
@@ -5,7 +5,7 @@
 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 @@
  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