Use the correct command to get the directory name when running collectstatic

This commit is contained in:
Calen Pennington
2012-05-24 11:34:12 -04:00
parent 06e06c81ad
commit 3fdb117d71

View File

@@ -1,3 +1,3 @@
#! /bin/bash
cd $(basedir $0) && django-admin.py collectstatic --noinput --settings=envs.aws --pythonpath=.
cd $(dirname $0) && django-admin.py collectstatic --noinput --settings=envs.aws --pythonpath=.