view deploy/linux/generate-qrc @ 104:d12ee4ccda41 v1.0-pre1-linux-macos

No, we'll have to revisit this later
author Chris Cannam
date Mon, 02 Mar 2020 09:47:59 +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"