diff options
author | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
commit | 1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (patch) | |
tree | 559d5fddb743c1c083e23c9a3831efea92a240cb /bin/make_css | |
parent | 84de1b811a219c41adbdcc8b65851320a77e98f7 (diff) | |
parent | 04117b8be30b5d82d50cdc047ac4e7c19864f8ed (diff) |
Merge tag 'v1.5.3' into fiksgatami-dev
Diffstat (limited to 'bin/make_css')
-rwxr-xr-x | bin/make_css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/make_css b/bin/make_css index a8afafb27..3a1fca1a7 100755 --- a/bin/make_css +++ b/bin/make_css @@ -11,13 +11,14 @@ COMPASS=compass SASS=sass -PARENT=$(cd `dirname $0`/../.. && pwd) +DIR=$(cd "$(dirname "$0")" && pwd -P) +PARENT=$(cd "$DIR"/../.. && pwd) if [ -f "$PARENT/gem-bin/compass" ]; then COMPASS=$PARENT/gem-bin/compass SASS=$PARENT/gem-bin/sass fi -DIRECTORY=$(cd `dirname $0`/../web && pwd) +DIRECTORY=$(cd "$DIR"/../web && pwd) DIRS=${@:-`find $DIRECTORY -name "*.scss" -exec dirname {} \; | uniq`} |