We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4db42e commit 40f5430Copy full SHA for 40f5430
bin/cc_prefix.sh
@@ -1,6 +1,6 @@
1
-#!/bin/bash
+#!/bin/sh
2
3
-[ -z "$RTAGS_DISABLED" ] && [ -x "$(which rc)" ] && rc --silent --compile "$@" &
+[ -z "$RTAGS_DISABLED" ] && [ -x "$(command -v rc)" ] && rc --silent --compile "$@" &
4
[ "$RTAGS_RMAKE" ] && exit 1
5
compiler="$1"
6
shift
bin/gcc-rtags-hook.sh
-if [ -z "$RTAGS_DISABLED" ] && [ -x "$(which rc)" ]; then
+if [ -z "$RTAGS_DISABLED" ] && [ -x "$(command -v rc)" ]; then
rc --silent --compile "$ICECC_CXX" "$@" &
fi
0 commit comments