zeek/auxil/spicy/scripts/cxx-installed-dir
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

11 lines
215 B
Bash
Executable File

#!/bin/sh
# Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.
if [ $# != 1 ]; then
echo "usage: $(basename $0) <cxx-path>"
exit 1
fi
$1 -### 2>&1 | grep ^InstalledDir | cut -d ' ' -f 2