template-specs: teamviewer.sh - do not log output, fix dirname/readlink order
glen
glen at pld-linux.org
Fri Jul 9 12:05:13 CEST 2010
Author: glen Date: Fri Jul 9 10:05:13 2010 GMT
Module: template-specs Tag: HEAD
---- Log message:
- do not log output, fix dirname/readlink order
---- Files affected:
template-specs:
teamviewer.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: template-specs/teamviewer.sh
diff -u template-specs/teamviewer.sh:1.1 template-specs/teamviewer.sh:1.2
--- template-specs/teamviewer.sh:1.1 Fri Jul 9 12:02:43 2010
+++ template-specs/teamviewer.sh Fri Jul 9 12:05:07 2010
@@ -1,7 +1,7 @@
#!/bin/sh
# Launch teamviewer 5 for Linux
-rootdir=$(readlink -f $(dirname "$0"))
+rootdir=$(dirname $(readlink -f "$0"))
# Set the environment up
export PATH="$rootdir/.wine/bin":$PATH
@@ -15,8 +15,5 @@
# User specified a prefix in the environment, use it
export WINEPREFIX="$TV_WINEPREFIX"
fi
-
-# Redirect output to logfile
-exec >/$WINEPREFIX/winelog 2>&1
"$rootdir/.wine/bin/wine" "$rootdir/.wine/drive_c/Program Files/TeamViewer/Version5/TeamViewer.exe"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/teamviewer.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list