ソースを参照

Check for php, and don't require the script to be chmod a+x


git-svn-id: http://svn.dmdirc.com/trunk@3403 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16年前
コミット
9bcd3b35c6
1個のファイルの変更3行の追加2行の削除
  1. 3
    2
      DoReports.sh

+ 3
- 2
DoReports.sh ファイルの表示

@@ -29,8 +29,9 @@ else
29 29
 fi
30 30
 
31 31
 # Run junit issue notifier
32
-if [ -e "$SCRIPTDIR/junit-failures.php" ]; then
33
-	$SCRIPTDIR/junit-failures.php
32
+PHP=`which php`
33
+if [ -e "$SCRIPTDIR/junit-failures.php" -a "${PHP}" != "" ]; then
34
+	$PHP -q $SCRIPTDIR/junit-failures.php
34 35
 fi
35 36
 
36 37
 # Oblong junit announcement

読み込み中…
キャンセル
保存