Skip to content

Commit

Permalink
Merge pull request #1540 from GaloisInc/rem_api_shebang_fixes_take2
Browse files Browse the repository at this point in the history
cryptol-remote-api script shebang fixes
  • Loading branch information
kquick authored Jul 3, 2023
2 parents 9cd829e + bf47e17 commit 57226ef
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 57226ef

Please sign in to comment.