summaryrefslogtreecommitdiffstats
path: root/testApp.sh
diff options
context:
space:
mode:
authorJonathan Bauer2012-01-24 15:02:26 +0100
committerJonathan Bauer2012-01-24 15:02:26 +0100
commit0a70f0c2d4933205e3fb4c87daa129b9738ef861 (patch)
treee9837925e01edadc9fd898b241dfaae781d8ad60 /testApp.sh
parentnew option -n to activate network discovery (diff)
downloadfbgui-0a70f0c2d4933205e3fb4c87daa129b9738ef861.tar.gz
fbgui-0a70f0c2d4933205e3fb4c87daa129b9738ef861.tar.xz
fbgui-0a70f0c2d4933205e3fb4c87daa129b9738ef861.zip
added nd template in config file & minor formatting
Diffstat (limited to 'testApp.sh')
-rwxr-xr-xtestApp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testApp.sh b/testApp.sh
index b78bebe..ae9038e 100755
--- a/testApp.sh
+++ b/testApp.sh
@@ -14,8 +14,8 @@
QT_VERSION=Qt-4.7.2
# clean /tmp/fbgui
-rm -rf /tmp/fbgui
-rm /tmp/fbgui_trigger
+[ -d /tmp/fbgui ] && rm -rf /tmp/fbgui
+[ -f /tmp/fbgui_trigger ] && rm /tmp/fbgui_trigger
# path to script (including script name)
script_path="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"