[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnash-commit
Subject:    [Gnash-commit] gnash/gui gnash.in
From:       Sandro Santilli <strk () keybit ! net>
Date:       2007-07-31 20:08:44
Message-ID: E1IFy1M-0002R1-7Z () cvs ! savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 20:08:44

Modified files:
	gui            : gnash.in 

Log message:
	check only for existance of the binary, not for it's execute bit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.in?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: gnash.in
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- gnash.in	31 Jul 2007 19:56:39 -0000	1.2
+++ gnash.in	31 Jul 2007 20:08:44 -0000	1.3
@@ -42,10 +42,10 @@
 
 for gui in ${gui} ${GUIS}; do
 	exe=${THIS_DIR}/${gui}-gnash
-	if test -x ${exe}; then
+	if test -e ${exe}; then
 		exec ${exe} $*
 	fi
 done
 
-echo "Could not find any <gui>-gnash executable under directory ${THIS_DIR}, with \
<gui> in $GUI_DIR" >&2 +echo "Could not find any <gui>-gnash executable under \
directory ${THIS_DIR}, with <gui> in $GUI_DIR." >&2  exit 1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic