wineinstall: Remove bashisms, make sh compatible.
This commit is contained in:
parent
3df9158747
commit
7e4fc8cb35
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# WINE Installation script
|
||||
# Can do almost everything from compiling to configuring...
|
||||
#
|
||||
|
@ -22,13 +22,11 @@
|
|||
#--- defaults (change these if you are a packager)
|
||||
CONFARGS="" # configure args, e.g. --prefix=/usr
|
||||
|
||||
# functions
|
||||
|
||||
function std_sleep {
|
||||
std_sleep() {
|
||||
sleep 1
|
||||
}
|
||||
|
||||
function conf_yesno_answer {
|
||||
conf_yesno_answer() {
|
||||
unset ANSWER
|
||||
while [ "$ANSWER" != 'yes' ] && [ "$ANSWER" != 'no' ]
|
||||
do {
|
||||
|
|
Loading…
Reference in New Issue