From 1712f26470313ad83b9502b96f9aa15847b03ce6 Mon Sep 17 00:00:00 2001 From: Felix Kaechele Date: Sat, 17 Sep 2016 06:49:23 -0700 Subject: [PATCH] Change shebang lines to work universally Using env enables the scripts to run in virtualenv as well as in a differently named or bare environment. Signed-off-by: Felix Kaechele --- create_db.py | 2 +- db_downgrade.py | 2 +- db_migrate.py | 2 +- db_upgrade.py | 2 +- run.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/create_db.py b/create_db.py index ec8eb60..8768ab7 100755 --- a/create_db.py +++ b/create_db.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI diff --git a/db_downgrade.py b/db_downgrade.py index 59200a9..c001e6c 100755 --- a/db_downgrade.py +++ b/db_downgrade.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO diff --git a/db_migrate.py b/db_migrate.py index f5fce56..6823469 100755 --- a/db_migrate.py +++ b/db_migrate.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python import imp from migrate.versioning import api from app import db diff --git a/db_upgrade.py b/db_upgrade.py index d17f322..f5ae27b 100755 --- a/db_upgrade.py +++ b/db_upgrade.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO diff --git a/run.py b/run.py index 3803d88..e159643 100755 --- a/run.py +++ b/run.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python from app import app from config import PORT