gget r54 - trunk/bin



Author: johans
Date: Tue Aug  5 22:35:06 2008
New Revision: 54
URL: http://svn.gnome.org/viewvc/gget?rev=54&view=rev

Log:
Fixed mistake in previous commit.

Modified:
   trunk/bin/Makefile.am
   trunk/bin/gget.in

Modified: trunk/bin/Makefile.am
==============================================================================
--- trunk/bin/Makefile.am	(original)
+++ trunk/bin/Makefile.am	Tue Aug  5 22:35:06 2008
@@ -4,6 +4,7 @@
 
 $(bin_SCRIPTS): $(gget_in_file)
 	sed -e "s|\ PYTHONDIR\@|$(pythondir)|" < $< > $@
+	chmod a+x $(bin_SCRIPTS)
 
 DISTCLEANFILES = $(bin_SCRIPTS)
 EXTRA_DIST = $(gget_in_file)

Modified: trunk/bin/gget.in
==============================================================================
--- trunk/bin/gget.in	(original)
+++ trunk/bin/gget.in	Tue Aug  5 22:35:06 2008
@@ -26,7 +26,7 @@
 
 # Try to determine if we run from source or install and fix path accordingly
 def _check(path):
-    return os.path(path) and os.path.isdir(path) and \
+    return os.path.exists(path) and os.path.isdir(path) and \
            os.path.isfile(path + "/AUTHORS")
 
 name = os.path.join(os.path.dirname(__file__), "..")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]