diff options
Diffstat (limited to 'qtinterface/tqt-replace-stream-tqt3.cmake')
-rwxr-xr-x | qtinterface/tqt-replace-stream-tqt3.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtinterface/tqt-replace-stream-tqt3.cmake b/qtinterface/tqt-replace-stream-tqt3.cmake index c30e562..14f7308 100755 --- a/qtinterface/tqt-replace-stream-tqt3.cmake +++ b/qtinterface/tqt-replace-stream-tqt3.cmake @@ -1,8 +1,8 @@ #!/bin/bash QT_VERSION=@QT_VERSION@ -if [[ $1 == "" ]]; then +if [[ "$1" == "" ]]; then echo "Usage: tqt-replace-stream <filename>" else - cat $1 | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g' + cat "$1" | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g' fi |