File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ THIS_SCRIPT=" $( readlink -f " ${BASH_SOURCE[0]} " ) "
4+ THIS_SCRIPT_PATH=" $( dirname " $THIS_SCRIPT " ) "
5+
36echo " --- Generating Keyboard Cache ---"
4- rm -f keyboard/index.cache
5- cd keyboard
7+ rm -f " $THIS_SCRIPT_PATH /../ keyboard/index.cache"
8+ cd " $THIS_SCRIPT_PATH /../ keyboard"
69php -d include_path=/var/www/html/_includes:. _build_cache.php
710
811if [[ ! $1 =~ " debug" ]]; then
912 echo " ---- Generating CDN ---"
10- cd ../cdn
13+ rm -rf " $THIS_SCRIPT_PATH /../cdn/deploy"
14+ cd " $THIS_SCRIPT_PATH /../cdn"
1115 php -d include_path=/var/www/html/_includes:. cdnrefresh.php
1216 cd ..
1317else
1418 echo " Skip Generating CDN and clean CDN cache"
15- rm -rf ../cdn/deploy
19+ rm -rf " $THIS_SCRIPT_PATH / ../cdn/deploy"
1620fi
You can’t perform that action at this time.
0 commit comments