Ver Fonte

dependencies.sh: fix CWD in PATH check

Closes #1999

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Nick Leverton há 15 anos atrás
pai
commit
016eb67078
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      CHANGES
  2. 1 1
      toolchain/dependencies/dependencies.sh

+ 1 - 0
CHANGES

@@ -30,6 +30,7 @@
 	#1951: Bump openssl to 0.9.8o
 	#1957: Bump sqlite to 3.6.23.1
 	#1987: intltool: Fix spelling mistake
+	#1999: Typo in path checking
 
 2010.05, Released May 30th, 2010:
 

+ 1 - 1
toolchain/dependencies/dependencies.sh

@@ -41,7 +41,7 @@ if test -n "$PATH" ; then
 	/bin/echo TRiGGER_start"$PATH"TRiGGER_end | /bin/grep ':\.:' >/dev/null 2>&1 ||
 	/bin/echo TRiGGER_start"$PATH"TRiGGER_end | /bin/grep 'TRiGGER_start\.:' >/dev/null 2>&1 ||
 	/bin/echo TRiGGER_start"$PATH"TRiGGER_end | /bin/grep ':\.TRiGGER_end' >/dev/null 2>&1 ||
-	/bin/echo TRiGGER_start"$PATH"TRiGGER_end | /bin/grep 'TRIGGER_start\.TRIGGER_end' >/dev/null 2>&1
+	/bin/echo TRiGGER_start"$PATH"TRiGGER_end | /bin/grep 'TRiGGER_start\.TRiGGER_end' >/dev/null 2>&1
 	if test $? = 0; then
 		/bin/echo -e "\nYou seem to have the current working directory in your"
 		/bin/echo -e "PATH environment variable. This doesn't work.\n"