mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-14 19:39:47 +03:00
cryptol-remote-api script shebang fixes
This commit is contained in:
parent
9cd829ef45
commit
bf47e179b7
@ -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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user