|
From: Benjamin C. <bc...@us...> - 2001-09-26 14:20:40
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv22327
Modified Files:
configure
Log Message:
Use read to get the choices rather than backticks
Index: configure
===================================================================
RCS file: /cvsroot/phpbt/phpbt/configure,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- configure 2001/09/23 21:20:00 1.13
+++ configure 2001/09/26 14:20:37 1.14
@@ -35,7 +35,7 @@
if [ $? -gt 0 ]; then
return
fi
- ADMINEMAIL=`<$tempfile`
+ read ADMINEMAIL <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Installation Path (2 of 5)" \
@@ -46,7 +46,7 @@
if [ $? -gt 0 ]; then
return
fi
- INSTALLPATH=`<$tempfile`
+ read INSTALLPATH <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Attachment Path (3 of 5)" \
@@ -58,7 +58,7 @@
if [ $? -gt 0 ]; then
return
fi
- ATTACHMENT_PATH=`<$tempfile`
+ read ATTACHMENT_PATH <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Installation URL (4 of 5)" \
@@ -67,7 +67,7 @@
if [ $? -gt 0 ]; then
return
fi
- INSTALLURL=`<$tempfile`
+ read INSTALLURL <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "PHPlib Path (5 of 5)" \
@@ -77,7 +77,7 @@
return
fi
- PHPLIBPATH=`<$tempfile`
+ read PHPLIBPATH <$tempfile
}
database() {
@@ -90,7 +90,7 @@
if [ $? -gt 0 ]; then
return
fi
- DB_TYPE=`<$tempfile`
+ read DB_TYPE <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Database Host (2 of 5)" \
@@ -99,7 +99,7 @@
if [ $? -gt 0 ]; then
return
fi
- DB_HOST=`<$tempfile`
+ read DB_HOST <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Database User (3 of 5)" \
@@ -108,7 +108,7 @@
if [ $? -gt 0 ]; then
return
fi
- DB_USER=`<$tempfile`
+ read DB_USER <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Database Password (4 of 5)" \
@@ -117,7 +117,7 @@
if [ $? -gt 0 ]; then
return
fi
- DB_PASS=`<$tempfile`
+ read DB_PASS <$tempfile
$DIALOG --backtitle "phpBT Configuration" \
--title "Database Table Prefix (5 of 5)" \
@@ -126,7 +126,7 @@
if [ $? -gt 0 ]; then
return
fi
- DB_TBL_PREFIX=`<$tempfile`
+ read DB_TBL_PREFIX <$tempfile
}
change_features() {
@@ -182,7 +182,7 @@
retval=$?
- choice=`<$tempfile`
+ read choice <$tempfile
if [ $retval -eq 0 ]; then
for selected in $choice
do
@@ -216,7 +216,7 @@
--inputbox "If JPGraph is not in PHP's include path, specify the location of JPGraph." 0 0 $JPGRAPH_PATH \
2> $tempfile
if [ $? -eq 0 ]; then
- JPGRAPH_PATH=`<$tempfile`
+ read JPGRAPH_PATH <$tempfile
fi
fi
@@ -234,7 +234,7 @@
retval=$?
- choice=`<$tempfile`
+ read choice <$tempfile
if [ $retval -eq 0 ]; then
case $choice in
Administrivia)
|