Author: nickboldt
Date: 2010-02-05 16:00:11 -0500 (Fri, 05 Feb 2010)
New Revision: 20159
Modified:
trunk/common/releng/hudson/run.sh
Log:
check in path AND in using whereis (fixed)
Modified: trunk/common/releng/hudson/run.sh
===================================================================
--- trunk/common/releng/hudson/run.sh 2010-02-05 20:54:17 UTC (rev 20158)
+++ trunk/common/releng/hudson/run.sh 2010-02-05 21:00:11 UTC (rev 20159)
@@ -32,16 +32,16 @@
# check for required platform stuff
missingRequirements=""
for f in cvs svn javac wget vncserver Xvfb Xvnc; do
- check=$(${f} 2>&1);
+ check=$(${f} 2>&1 &);
check2=$(whereis $f);
if [[ ${check%%command not found} != ${check} ]]; then # not found
if [[ $check2 == "$f:" ]]; then # not found
missingRequirements="$missingRequirements $f"
else
- echo "Found $check"
+ echo "Found $check2"
fi
else
- echo "Found $f on in PATH="
+ echo "Found $f in PATH="
echo ${PATH};
fi
done
Show replies by date