wineinstall: Remove bashisms, make sh compatible.

This commit is contained in:
Austin English 2008-10-17 21:27:37 -05:00 committed by Alexandre Julliard
parent 3df9158747
commit 7e4fc8cb35
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# WINE Installation script # WINE Installation script
# Can do almost everything from compiling to configuring... # Can do almost everything from compiling to configuring...
# #
@ -22,13 +22,11 @@
#--- defaults (change these if you are a packager) #--- defaults (change these if you are a packager)
CONFARGS="" # configure args, e.g. --prefix=/usr CONFARGS="" # configure args, e.g. --prefix=/usr
# functions std_sleep() {
function std_sleep {
sleep 1 sleep 1
} }
function conf_yesno_answer { conf_yesno_answer() {
unset ANSWER unset ANSWER
while [ "$ANSWER" != 'yes' ] && [ "$ANSWER" != 'no' ] while [ "$ANSWER" != 'yes' ] && [ "$ANSWER" != 'no' ]
do { do {