kumquat-buildroot/package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch

12 lines
266 B
Diff
Raw Normal View History

2006-12-08 06:30:00 +01:00
--- ltp-full-20061121/IDcheck.sh.orig 2006-12-07 22:31:29.000000000 -0700
+++ ltp-full-20061121/IDcheck.sh 2006-12-07 22:32:58.000000000 -0700
@@ -85,7 +85,7 @@
fi
whoami | grep root > /dev/null
-if [ $? == "0" ]; then
+if [ $? = "0" ]; then
I_AM_ROOT=1
fi