foundationdb/build/get_package_name.sh

4 lines
87 B
Bash
Executable File

#!/usr/bin/env bash
cat $1 | grep '<PackageName>' | sed -e 's,^[^>]*>,,' -e 's,<.*,,'