dependencies.sh: fix CWD in PATH check
authorNick Leverton <nick@leverton.org>
Wed, 9 Jun 2010 10:04:25 +0000 (12:04 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 9 Jun 2010 10:04:25 +0000 (12:04 +0200)
Closes #1999

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
toolchain/dependencies/dependencies.sh

diff --git a/CHANGES b/CHANGES
index 0c4b9d61e3f1ab20a2e5ef1053ae1629e692efef..3ba719556c6001200be1fcdccfa4c49b729313e6 100644 (file)
--- a/CHANGES
+++ b/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:
 
index 34149c1a363b32a268281442c29c0caf2ce4d678..96f843fc5dd860de8284aca7ce43151177f24367 100755 (executable)
@@ -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"