view deploy/linux/generate-qrc @ 38:3466e0d1393c

Generate the qrc file
author Chris Cannam
date Tue, 17 Dec 2019 09:51:32 +0000
parents
children 38cd115c91d4
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 's/@SUFFIX@/so/g' > "$qrc"