If bash is run as a non-login shell, it doesn't read /etc/profile. Under

Cygwin this has the side effect of making the Windows "find" command appear 
first in the path instead of Cygwin's "find" command.  Call /usr/bin/find
explicitly in win32-setup.sh.

svn path=/trunk/; revision=12639
This commit is contained in:
Gerald Combs 2004-12-01 16:56:37 +00:00
parent 679479be68
commit 1007a85912
2 changed files with 2 additions and 1 deletions

View File

@ -386,6 +386,7 @@ REQUIRED_TOOLS=\
$(YACC) \
$(LEX) \
grep \
/usr/bin/find \
$(PERL) \
$(PYTHON) \
sed \

View File

@ -71,7 +71,7 @@ case "$1" in
unzip -nq "$DEST_PATH/$PACKAGE" ||
err_exit "Couldn't unpack $DEST_PATH/$PACKAGE"
echo "Verifying that the DLLs in $DEST_PATH/$DEST_SUBDIR are executable."
for i in `find $DEST_PATH/$DEST_SUBDIR -name \*\.dll` ; do
for i in `/usr/bin/find $DEST_PATH/$DEST_SUBDIR -name \*\.dll` ; do
if [ ! -x "$i" ] ; then
echo "Changing file permissions (add executable bit) to:"
echo "$i"