Skip to content

Commit

Permalink
Revert bash change. (#121)
Browse files Browse the repository at this point in the history
I've removed the bash specific syntax, since its actually not needed here, and swapping to bash caused cygwin to not be loaded on systems with the Linux sub-system (I think).
  • Loading branch information
CrossR authored and bryphe committed Mar 6, 2019
1 parent ef6504d commit 51a2732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"scripts": {
"bootstrap": "bash ./scripts/bootstrap.sh",
"bootstrap": "sh ./scripts/bootstrap.sh",
"format": "esy dune build @fmt --auto-promote",
"test": "esy x OniUnitTestRunner"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [ ! -d "$config_path" ]; then
check_command_succeded "creating parent directory: $config_path"
fi
# create the output file, if it exists remove it first so it is recreated
if [[ -e "$OUTPUT" ]]; then
if [ -e "$OUTPUT" ]; then
rm -f "$OUTPUT"
check_command_succeded "removing old setup $OUTPUT"
fi
Expand Down

0 comments on commit 51a2732

Please sign in to comment.