Eric Andersen 18 years ago
parent
commit
c5385c9011
1 changed files with 11 additions and 0 deletions
  1. 11 0
      package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch

+ 11 - 0
package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch

@@ -0,0 +1,11 @@
+--- 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
+