summaryrefslogtreecommitdiff
path: root/contrib/get-cryptominisat
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2019-08-26 15:38:04 -0700
committerGitHub <noreply@github.com>2019-08-26 15:38:04 -0700
commit9b9ecdf85954e937bd569cba018b6b09eee787a1 (patch)
tree0d28bf7f9ba77e45ffba52cfe7913f8ee566bd79 /contrib/get-cryptominisat
parentbf0c04f38a1dede1560bc880193889c6dd85ad67 (diff)
Make contrib/get-* more robust. (#3198)
We use the command which to determine if a command is available on the system. However, which is not installed on all platforms by default (e.g. CentOS). command is a shell builtin that can be used for the same purpose.
Diffstat (limited to 'contrib/get-cryptominisat')
-rwxr-xr-xcontrib/get-cryptominisat2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/get-cryptominisat b/contrib/get-cryptominisat
index 6b3a7029a..379d75df1 100755
--- a/contrib/get-cryptominisat
+++ b/contrib/get-cryptominisat
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
source "$(dirname "$0")/get-script-header.sh"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback