forked from osmocom/wireshark
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:
parent
679479be68
commit
1007a85912
|
@ -386,6 +386,7 @@ REQUIRED_TOOLS=\
|
||||||
$(YACC) \
|
$(YACC) \
|
||||||
$(LEX) \
|
$(LEX) \
|
||||||
grep \
|
grep \
|
||||||
|
/usr/bin/find \
|
||||||
$(PERL) \
|
$(PERL) \
|
||||||
$(PYTHON) \
|
$(PYTHON) \
|
||||||
sed \
|
sed \
|
||||||
|
|
|
@ -71,7 +71,7 @@ case "$1" in
|
||||||
unzip -nq "$DEST_PATH/$PACKAGE" ||
|
unzip -nq "$DEST_PATH/$PACKAGE" ||
|
||||||
err_exit "Couldn't unpack $DEST_PATH/$PACKAGE"
|
err_exit "Couldn't unpack $DEST_PATH/$PACKAGE"
|
||||||
echo "Verifying that the DLLs in $DEST_PATH/$DEST_SUBDIR are executable."
|
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
|
if [ ! -x "$i" ] ; then
|
||||||
echo "Changing file permissions (add executable bit) to:"
|
echo "Changing file permissions (add executable bit) to:"
|
||||||
echo "$i"
|
echo "$i"
|
||||||
|
|
Loading…
Reference in New Issue