From 4926e185ef3c2feec8d5b85a9c3bf6a97bec7cee Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Mon, 6 Dec 2010 15:32:01 +0100 Subject: [PATCH] Making jammit tests in server consistent --- script/server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/server b/script/server index 4daa02c5f..b6aed9eb2 100755 --- a/script/server +++ b/script/server @@ -85,13 +85,13 @@ if [ ! -e public/source.tar.gz ]; then fi # Precache jammit assets -if [[ -w public && ! -e public/stylesheets/application.css ]]; then +if [[ -w public && ! -e 'public/stylesheets/application.css' ]]; then if [ "$INIT_PUBLIC" != 'no' ]; then echo "Making first-time server initialization." init_public fi fi -if [ ! -e 'public/assets/main.js.gz' ]; then +if [ ! -e 'public/stylesheets/application.css' ]; then echo 'Jammit precache error (now or at install)' >&2 exit 66 fi