[galaxy-commits] galaxy-dist commit 8d255150cb3e: Use env for the API example scripts instead of directly referring to /usr/bin/python
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Jul 30 09:29:51 EDT 2010
# HG changeset patch -- Bitbucket.org
# Project galaxy-dist
# URL http://bitbucket.org/galaxy/galaxy-dist/overview
# User Nate Coraor <nate at bx.psu.edu>
# Date 1280416695 14400
# Node ID 8d255150cb3e868974777eee030843d2c3e7ad16
# Parent c653ccfa1a1ef7c2a384ee4b3ab72da0b391ae14
Use env for the API example scripts instead of directly referring to /usr/bin/python
--- a/scripts/api/library_upload_from_import_dir.py
+++ b/scripts/api/library_upload_from_import_dir.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys
sys.path.insert( 0, os.path.dirname( __file__ ) )
--- a/scripts/api/library_create_library.py
+++ b/scripts/api/library_create_library.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys
sys.path.insert( 0, os.path.dirname( __file__ ) )
--- a/scripts/api/library_create_folder.py
+++ b/scripts/api/library_create_folder.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys
sys.path.insert( 0, os.path.dirname( __file__ ) )
--- a/scripts/api/display.py
+++ b/scripts/api/display.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys
sys.path.insert( 0, os.path.dirname( __file__ ) )
More information about the galaxy-commits
mailing list