From 24f40c55497bdab275503ecf587a65e62ab4b5be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= <tseeker@legacyworlds.com>
Date: Mon, 16 Jan 2012 12:50:10 +0100
Subject: [PATCH] Fix for dirty SQL tests

* Fixed an error in the main post-build script which caused dirty SQL
tests to be skipped
---
 build/post-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/post-build.sh b/build/post-build.sh
index 1f9c8fb..68e6fc9 100755
--- a/build/post-build.sh
+++ b/build/post-build.sh
@@ -53,6 +53,6 @@ fi
 if [ -d user ]; then
 	pg_prove -U $TEST_USER -d $TEST_DATABASE `find user/ -type f -name '*.sql'` || exit 1
 fi
-if [ -x dirty/run-dirty-tests.sql ]; then
-	( cd dirty; exec ./run-dirty-tests.sql ) || exit 1
+if [ -x dirty/run-dirty-tests.sh ]; then
+	( cd dirty; exec ./run-dirty-tests.sh ) || exit 1
 fi