view deploy/linux/generate-qrc @ 119:1fac7357f891

Our Vamp RDF server supports automatic extension addition for .n3 extensions only, so use that
author Chris Cannam
date Fri, 17 Apr 2020 14:10:44 +0100
parents 38cd115c91d4
children
line wrap: on
line source
#!/bin/bash
qrc="$1"
if [ ! -f "$qrc".in ]; then
    echo "Input file $qrc.in not found"
    exit 2
fi
set -eu
cat "$qrc".in | sed -e 's/@SUFFIX@/.so/g' -e 's/@EXESUFFIX@//g' > "$qrc"