From b5fb7ec59011fb1a75ae84c718ed7e7c19e33dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 14 Sep 2020 02:49:15 +0200 Subject: Add quotes for the file name used as a parameter in tqt-replace scripts. This resolves bug 3158. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- qtinterface/tqt-replace.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtinterface/tqt-replace.cmake') diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake index 282b1e8..15b4b6f 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 " else sed -i 's/^TQ\([^T_]\)/Q\1/g' "$1" -- cgit v1.2.1