view deploy/linux/generate-qrc @ 70:103ee4b82f30

Include only one set of rdf files (I was forgetting that of course S P O1 and S P O2 are not duplicates so will happily coexist & confuse matters). Install only if dialog not cancelled. + some RDF updates
author Chris Cannam
date Thu, 13 Feb 2020 13:53:48 +0000
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"