From 7e4fc8cb35b5741f012094894f5ba18535ab5486 Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 17 Oct 2008 21:27:37 -0500 Subject: [PATCH] wineinstall: Remove bashisms, make sh compatible. --- tools/wineinstall | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/wineinstall b/tools/wineinstall index e4ad473a2f4..fe48505c03b 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 {