aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin
diff options
context:
space:
mode:
Diffstat (limited to 'mediaplugin')
-rwxr-xr-xmediaplugin/dists/buildbot/win32-delphi-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediaplugin/dists/buildbot/win32-delphi-build.sh b/mediaplugin/dists/buildbot/win32-delphi-build.sh
index 96ce435e..6a045bd1 100755
--- a/mediaplugin/dists/buildbot/win32-delphi-build.sh
+++ b/mediaplugin/dists/buildbot/win32-delphi-build.sh
@@ -1,6 +1,7 @@
+#!/bin/bash
# check if the MinGW/Msys grep is used and not Borland's or FPC's version
GREP_DIR=`which grep`
-if [ "$GREP_DIR" != "/bin/grep.exe" ]; then
+if ([ "$GREP_DIR" != "/bin/grep.exe" ] && [ "$GREP_DIR" != "/usr/bin/grep.exe" ]); then
echo "Incorrect version of grep ($GREP_DIR)"
echo "Make sure mingw/msys precede FPC and Delphi in the PATH environment."
exit 1