From e04bef763cc95046d5b8708c7a73cd0d5b7c434b Mon Sep 17 00:00:00 2001 From: "Ignacio R. Morelle" Date: Thu, 2 Jul 2009 12:24:24 +0000 Subject: [PATCH] Fix a '[test: command not found' error on wesnoth-optipng:38. Ivanovic, please check the change doesn't change the intended behavior. --- utils/wesnoth-optipng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/wesnoth-optipng b/utils/wesnoth-optipng index 4bd78ff759d..60e1054f62e 100755 --- a/utils/wesnoth-optipng +++ b/utils/wesnoth-optipng @@ -35,7 +35,7 @@ total_original_size=0 total_savings_size=0 total_savings_filecount=0 -if [test -e "/proc/cpuinfo"] && [`grep processor /proc/cpuinfo | wc -l` -gt 1]; then +if [ -e "/proc/cpuinfo"] && [`grep processor /proc/cpuinfo | wc -l` -gt 1]; then max_number_threads=`grep processor /proc/cpuinfo | wc -l` fi