File tree 4 files changed +12
-10
lines changed
4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ jobs:
26
26
include :
27
27
- target :
28
28
os : linux
29
- builder : ubuntu-20.04
29
+ builder : ubuntu-latest
30
30
- target :
31
31
os : macos
32
- builder : macos-12
32
+ builder : macos-latest
33
33
- target :
34
34
os : windows
35
35
builder : windows-latest
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ endif
150
150
$(NIMBLE_DIR ) :
151
151
mkdir -p $(NIMBLE_DIR ) /pkgs
152
152
NIMBLE_DIR=" $( CURDIR) /$( NIMBLE_DIR) " PWD_CMD=" $( PWD) " EXCLUDED_NIM_PACKAGES=" $( EXCLUDED_NIM_PACKAGES) " \
153
- git submodule foreach --recursive --quiet ' $(CURDIR)/$(BUILD_SYSTEM_DIR)/scripts/create_nimble_link.sh "$$sm_path"'
153
+ git submodule foreach --recursive --quiet ' " $(CURDIR)/$(BUILD_SYSTEM_DIR)/scripts/create_nimble_link.sh" "$$sm_path"'
154
154
155
155
clean-cross :
156
156
+ [[ -e vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc ]] && " $( MAKE) " -C vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc CC=$(CC ) clean $(HANDLE_OUTPUT ) || true
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$' \n\t '
2
4
3
5
cd " $TOP_LEVEL_DIR "
4
6
@@ -9,17 +11,17 @@ cd "$TOP_LEVEL_DIR"
9
11
# invocations may get interleaved.
10
12
temp_nbs_paths=$( mktemp nimbus-build-system.paths.XXXXXXXXXXXXXXX)
11
13
12
- echo " --noNimblePath" > $ temp_nbs_paths
13
- for file in $( ls -d $PWD /vendor/* )
14
+ echo " --noNimblePath" > " ${ temp_nbs_paths} "
15
+ for file in $( ls -d " $PWD /vendor" /* )
14
16
do
15
17
if uname | grep -qiE " mingw|msys" ; then
16
- file=$( cygpath -m $ file)
18
+ file=$( cygpath -m " ${ file} " )
17
19
fi
18
20
if [ -d " $file /src" ]; then
19
21
echo --path:" \" $file /src\" "
20
22
else
21
23
echo --path:" \" $file \" "
22
24
fi
23
- done >> $ temp_nbs_paths
25
+ done >> " ${ temp_nbs_paths} "
24
26
25
- mv $ temp_nbs_paths nimbus-build-system.paths
27
+ mv " ${ temp_nbs_paths} " nimbus-build-system.paths
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export NIMC=${NIMC:-nim}
15
15
16
16
# We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file
17
17
# and we fall back to a Zsh-specific special var to also support Zsh.
18
- export REL_PATH=" $( dirname ${BASH_SOURCE[0]:- ${(% ):-% x} } ) "
19
- export ABS_PATH=" $( cd ${REL_PATH} ; pwd) "
18
+ export REL_PATH=" $( dirname " ${BASH_SOURCE[0]:- ${(% ):-% x} } " ) "
19
+ export ABS_PATH=" $( cd " ${REL_PATH} " ; pwd) "
20
20
# do we still need this?
21
21
# ABS_PATH_NATIVE="$(cd ${REL_PATH}; ${PWD_CMD})"
22
22
You can’t perform that action at this time.
0 commit comments