cryptol-remote-api script shebang fixes

This commit is contained in:
Kevin Quick 2023-07-02 21:50:25 -07:00
parent 9cd829ef45
commit bf47e179b7
No known key found for this signature in database
GPG Key ID: E6D7733599CC0A21
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail