summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt-replace-stream')
-rwxr-xr-xqtinterface/tqt-replace-stream6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream
index 4cda1ca..fcdad0b 100755
--- a/qtinterface/tqt-replace-stream
+++ b/qtinterface/tqt-replace-stream
@@ -1,11 +1,11 @@
#!/bin/bash
QT_VER=X
-if [[ $1 == "" ]]; then
+if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
if [[ $QT_VER == 3 ]]; then
- cat $1 | \
+ cat "$1" | \
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
@@ -33,7 +33,7 @@ else
fi
if [[ $QT_VER == 4 ]]; then
- cat $1 | \
+ cat "$1" | \
sed 's/TQAccel/Q3Accel/g' | \
sed 's/TQAccessible/QAccessible/g' | \
sed 's/TQAccessibleObject/QAccessibleObject/g' | \