diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-09-14 02:49:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-09-14 03:00:08 +0200 |
commit | 6ce1ad64e9ed1d7a3fe0278596d9b9113a001101 (patch) | |
tree | d0e479ea8199b49b1c6796ad4ce0eae2dfb57610 /qtinterface/tqt-replace.cmake | |
parent | 41712dcbc31185707b6f17ac9f70b1f8bd9faa40 (diff) | |
download | tqtinterface-6ce1ad64e9ed1d7a3fe0278596d9b9113a001101.tar.gz tqtinterface-6ce1ad64e9ed1d7a3fe0278596d9b9113a001101.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 <slavek.banko@axis.cz>
(cherry picked from commit b5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2)
Diffstat (limited to 'qtinterface/tqt-replace.cmake')
-rwxr-xr-x | qtinterface/tqt-replace.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake index 6123a92..2388733 100755 --- a/qtinterface/tqt-replace.cmake +++ b/qtinterface/tqt-replace.cmake @@ -1,7 +1,7 @@ #!/bin/bash QT_VERSION=@QT_VERSION@ -if [[ $1 == "" ]]; then +if [[ "$1" == "" ]]; then echo "Usage: tqt-replace <input_file>" else if [[ $QT_VERSION == 3 ]]; then |