summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt-replace-stream.cmake')
-rwxr-xr-xqtinterface/tqt-replace-stream.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index 3f8daca..fcaeced 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -1,10 +1,10 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
-if [[ $1 == "" ]]; then
+if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
- cat $1 | \
+ cat "$1" | \
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \