comparison configure @ 1104:5016f753b47a draft

this is a commit
author chisquare <chisquare@i2pmail.org>
date Tue, 16 Apr 2013 03:14:29 +0000
parents 656b9133db24
children df77b4da95f1
comparison
equal deleted inserted replaced
1103:02d03aa00d1f 1104:5016f753b47a
3 vars="gitd_ip gitd_basepath git_name git_email tinydns_config tinydns__rootsrvrname tinydns__rootsrvrip tinydns__tldsrvrname tinydns__tldsrvrip tinydns__srvrip tinydns__srvrname" 3 vars="gitd_ip gitd_basepath git_name git_email tinydns_config tinydns__rootsrvrname tinydns__rootsrvrip tinydns__tldsrvrname tinydns__tldsrvrip tinydns__srvrip tinydns__srvrname"
4 4
5 echo "Welcome to the resdb configurator!" >&2 5 echo "Welcome to the resdb configurator!" >&2
6 echo >&2 6 echo >&2
7 7
8 if ! echo "$var=${!var}" >/dev/null 2>&1; then 8 if ! echo "$var=${!var}" >/dev/null 2>&1
9 then
9 echo "Your shell sucks. If you're using a stupid OS like Ubuntu that doesn't" >&2 10 echo "Your shell sucks. If you're using a stupid OS like Ubuntu that doesn't" >&2
10 echo "give a damn about backwards compatibility, I'd suggest fixing your" >&2 11 echo "give a damn about backwards compatibility, I'd suggest fixing your" >&2
11 echo "default shell, which you can do by typing \"ln -s bash /bin/sh\" at a" >&2 12 echo "default shell, which you can do by typing \"ln -s bash /bin/sh\" at a" >&2
12 echo "root shell prompt." >&2 13 echo "root shell prompt." >&2
13 echo "If you have some ancient Unix system, I'd suggest installing bash." >&2 14 echo "If you have some ancient Unix system, I'd suggest installing bash." >&2