Commits

Anonymous committed 7d8cc46

Fixed bug with deploy calling djadmin compilemessages incorrectly

  • Participants
  • Parent commits ac1e4f9

Comments (0)

Files changed (1)

File bin/djenvlib

         echo ">>> Removing orphan .pyc files..." 2>&1 && removeorphanpycs > /dev/null && \
         echo ">>> Validating models..." 2>&1 && djadmin validate && \
         echo 2>&1 && echo ">>> Compiling messages..." 2>&1 && \
-            for dir in `localized_django_projects`; do
-                (cdroot $dir && djadmin compilemessages)
-            done && \
+            djadmin compilemessages `localized_django_projects` && \
         echo 2>&1 && echo ">>> Making documentation..." 2>&1 && makedocs && \
         echo 2>&1 && echo ">>> Collecting static files..." 2>&1 && \
             deploy_static && \