diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-10-22 20:12:42 +0000 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-10-22 20:12:42 +0000 |
commit | 7731cfb16122ac03c9fcd59cc525731cb293e198 (patch) | |
tree | c729c215d09d817e99aa282d5e988c07ad3b5848 /deploy/build_css.sh | |
parent | 44982d22c9265e7022a97191e1f0b5c5e2332255 (diff) |
deploy: use /bin/sh, support freebsd
Diffstat (limited to 'deploy/build_css.sh')
-rwxr-xr-x | deploy/build_css.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/build_css.sh b/deploy/build_css.sh index 2129ea2..c53157d 100755 --- a/deploy/build_css.sh +++ b/deploy/build_css.sh @@ -1,7 +1,7 @@ -#!/bin/bash +#!/bin/sh PROGNAME="$0" -DIR="$( cd "$( dirname "$(readlink -f "${BASH_SOURCE[0]}")" )" && pwd )" +DIR=$(cd "$(dirname "$(readlink -f "$0")")" && pwd) ROOT="$(realpath "$DIR/../")" CLEANCSS="$ROOT"/node_modules/clean-css-cli/bin/cleancss |