Austin English : wineinstall: Remove bashisms, make sh compatible.
Alexandre Julliard
julliard at winehq.org
Mon Oct 20 08:00:19 CDT 2008
Module: wine
Branch: master
Commit: 7e4fc8cb35b5741f012094894f5ba18535ab5486
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e4fc8cb35b5741f012094894f5ba18535ab5486
Author: Austin English <austinenglish at gmail.com>
Date: Fri Oct 17 21:27:37 2008 -0500
wineinstall: Remove bashisms, make sh compatible.
---
tools/wineinstall | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/tools/wineinstall b/tools/wineinstall
index e4ad473..fe48505 100755
--- a/tools/wineinstall
+++ b/tools/wineinstall
@@ -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 {
More information about the wine-cvs
mailing list