pyvnc2swf (0.9.5-5) recordwin.patch

Summary

 bin/recordwin.sh |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Make recordwin.sh works with installed vnc2swf executable

diff --git a/bin/recordwin.sh b/bin/recordwin.sh
index ec08c77..6b75041 100755
--- a/bin/recordwin.sh
+++ b/bin/recordwin.sh
@@ -11,8 +11,7 @@
 ##  Requires: x11vnc, xwininfo, awk
 ##
 
-PYTHON=python
-VNC2SWF=pyvnc2swf/vnc2swf.py
+VNC2SWF=vnc2swf
 X11VNC=x11vnc
 XWININFO=xwininfo
 AWK=awk
@@ -57,4 +56,4 @@ fi
 
 # launch x11vnc and vnc2swf
 $X11VNC -quiet -bg -nopw -display "$display" -viewonly -localhost -cursor -wait 10 -defer 10 &&
-  $PYTHON $VNC2SWF -n $vncopts -o "$outfile" $geometry
+  $VNC2SWF -n $vncopts -o "$outfile" $geometry