diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/osx/generate-qrc	Tue Dec 17 09:51:32 2019 +0000
@@ -0,0 +1,8 @@
+#!/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@/dylib/g' > "$qrc"