File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/bash
2
2
set -ex
3
3
4
- SCRIPT_DIR=$( cd $( dirname " $0 " ) && pwd -P)
5
- ROOT=$( dirname $SCRIPT_DIR )
6
-
7
4
if ! [ -x " $( command -v bikeshed) " ] || [ " $1 " = " --upgrade" ]; then
8
5
echo ' Installing bikeshed'
9
6
pip install bikeshed
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/bash
2
2
set -ex
3
3
4
- SCRIPT_DIR=$( cd $( dirname " $0 " ) && pwd -P)
5
- ROOT=$( dirname $SCRIPT_DIR )
4
+ SCRIPT_DIR=" $( cd " $( dirname " $0 " ) " && pwd -P) "
5
+ ROOT=" $( dirname " $SCRIPT_DIR " ) "
6
6
7
7
if ! [ -x " $( command -v cddl) " ] || [ " $1 " = " --upgrade" ]; then
8
8
echo ' Installing cddl'
@@ -15,7 +15,7 @@ if [[ "$(npm list parse5)" =~ "empty" ]] || [ "$1" = "--upgrade" ]; then
15
15
fi
16
16
17
17
# Extract CDDL content from spec into files
18
- $ROOT /scripts/cddl/generate.js
18
+ " $ROOT " /scripts/cddl/generate.js
19
19
20
20
cddl compile-cddl --cddl local.cddl
21
21
cddl compile-cddl --cddl remote.cddl
You can’t perform that action at this time.
0 commit comments