summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-tqt3.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-09-14 02:49:15 +0200
committerSlávek Banko <[email protected]>2020-09-14 02:57:15 +0200
commitb5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2 (patch)
tree348e95ee286e055da3850457eaff030fbb849ffe /qtinterface/tqt-replace-tqt3.cmake
parent78d7836b23b4687b2809f9d4338850cc4476a875 (diff)
downloadtqtinterface-b5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2.tar.gz
tqtinterface-b5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2.zip
Add quotes for the file name used as a parameter in tqt-replace scripts.
This resolves bug 3158. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'qtinterface/tqt-replace-tqt3.cmake')
-rwxr-xr-xqtinterface/tqt-replace-tqt3.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-tqt3.cmake b/qtinterface/tqt-replace-tqt3.cmake
index cb7de9c..413dee5 100755
--- a/qtinterface/tqt-replace-tqt3.cmake
+++ b/qtinterface/tqt-replace-tqt3.cmake
@@ -1,7 +1,7 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
-if [[ $1 == "" ]]; then
+if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
sed -i 's/Q_SLOTS>/slots>/g' "$1"