Skip to content

Commit

Permalink
cryptol-remote-api script shebang fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kquick committed Jul 3, 2023
1 parent 9cd829e commit bf47e17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cryptol-remote-api/check_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

Expand All @@ -7,6 +7,7 @@ cd $DIR/docs
export CRYPTOL_SERVER=$(cabal v2-exec which cryptol-remote-api)
if [[ ! -x "$CRYPTOL_SERVER" ]]; then
echo "could not locate cryptol-remote-api executable - try executing with cabal v2-exec"
echo "or try building with 'cabal build cryptol-remote-api'"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion cryptol-remote-api/run_rpc_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down
2 changes: 1 addition & 1 deletion cryptol-remote-api/test_docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down

0 comments on commit bf47e17

Please sign in to comment.