annotate deploy/osx/generate-qrc @ 38:3466e0d1393c

Generate the qrc file
author Chris Cannam
date Tue, 17 Dec 2019 09:51:32 +0000
parents
children 38cd115c91d4
rev   line source
Chris@38 1 #!/bin/bash
Chris@38 2 qrc="$1"
Chris@38 3 if [ ! -f "$qrc".in ]; then
Chris@38 4 echo "Input file $qrc.in not found"
Chris@38 5 exit 2
Chris@38 6 fi
Chris@38 7 set -eu
Chris@38 8 cat "$qrc".in | sed 's/@SUFFIX@/dylib/g' > "$qrc"