From 6c79d98d12a04b6b8f8213a7f285fd8b2aa43abf Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 17 Oct 2008 21:27:37 -0500 Subject: [PATCH] tools/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 636be55..720b527 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 { -- 1.5.4.3