view deploy/linux/generate-qrc @ 83:66a22cdbb50c

Don't show completed dialog when installation was cancelled!
author Chris Cannam
date Wed, 19 Feb 2020 17:32:20 +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"