diff options
author | Slávek Banko <[email protected]> | 2020-09-14 02:49:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-09-14 02:57:15 +0200 |
commit | b5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2 (patch) | |
tree | 348e95ee286e055da3850457eaff030fbb849ffe /qtinterface/tqt-replace-tqt3.cmake | |
parent | 78d7836b23b4687b2809f9d4338850cc4476a875 (diff) | |
download | tqtinterface-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-x | qtinterface/tqt-replace-tqt3.cmake | 2 |
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" |