Blame SOURCES/bltk-1.0.9-installed.patch

983249
--- orig-1.0.9/tools/bltk/bltk_check.sh	2009-04-10 09:14:20.000000000 +0200
983249
+++ curr-1.0.9-1/tools/bltk/bltk_check.sh	2009-07-17 11:03:54.764879831 +0200
983249
@@ -38,6 +38,7 @@
983249
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
983249
 #
983249
 
983249
+[ -f "$BLTK_CONF" ] && . "$BLTK_CONF"
983249
 
983249
 source `dirname $0`/bltk_wl_common
983249
 [[ $? != 0 ]] && { echo "bltk tree corrupted"; exit 2; }
983249
@@ -120,7 +121,7 @@
983249
 	wl=${WLA[wl_cnt]}
983249
 	WL_RES=$RES/$wl.results
983249
 	echo "=== Workload '$wl'"
983249
-	if [[ ! -f $BLTK_ROOT/wl_$wl/.installed && $wl != idle && $wl != reader ]]
983249
+	if [[ $CHK_INSTALLED = "YES" && ! -f $BLTK_ROOT/wl_$wl/.installed && $wl != idle && $wl != reader ]]
983249
 	then
983249
 		echo "not installed";
983249
 		WLR[wl_cnt]="not installed"
983249
--- orig-1.0.9/tools/bltk/bltk_wl_common.sh	2009-04-10 09:14:20.000000000 +0200
983249
+++ curr-1.0.9-1/tools/bltk/bltk_wl_common.sh	2009-07-17 11:03:54.742158129 +0200
983249
@@ -374,7 +375,7 @@
983249
 {
983249
 	typeset wl=$1
983249
 
983249
-	if [[ ! -a $BLTK_WL_INSTALL_FILE ]]
983249
+	if [[ $CHK_INSTALLED = "YES" && ! -a $BLTK_WL_INSTALL_FILE ]]
983249
 	then
983249
 		wl_error_msg "Installation is not completed, perform 'make install-$wl'"
983249
 		return 1