From f4a4f9616cf92d8655adff8559ee4a7981e4ea20 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 1 Dec 2012 19:31:08 +0800 Subject: [PATCH] fix using the hardcoded path --- bbb_django/migrate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbb_django/migrate.sh b/bbb_django/migrate.sh index e9df6da..ea05540 100755 --- a/bbb_django/migrate.sh +++ b/bbb_django/migrate.sh @@ -1,4 +1,4 @@ #!/bin/bash -sudo /home/jeromy/dev/bbb_python/env/bin/python manage.py schemamigration bbb --auto -sudo /home/jeromy/dev/bbb_python/env/bin/python manage.py migrate bbb +sudo `which python` manage.py schemamigration bbb --auto +sudo `which python` manage.py migrate bbb