Home | History | Annotate | Download | only in turbovnc
      1 #!/bin/sh
      2 #
      3 # This script has been (or is hereby) released into the public domain by
      4 # its author, Karl J. Runge <runge (at] karlrunge.com>. This applies worldwide.
      5 # 
      6 # In case this is not legally possible: Karl J. Runge grants anyone the
      7 # right to use this work for any purpose, without any conditions, unless
      8 # such conditions are required by law.
      9 
     10 ldir="../../../libvncserver"
     11 
     12 if [ ! -f "$ldir/tight.c.ORIG" ]; then
     13 	ls -l "$ldir/tight.c.ORIG"
     14 	exit 1
     15 fi
     16 if [ ! -f "$ldir/rfbserver.c.ORIG" ]; then
     17 	ls -l "$ldir/rfbserver.c.ORIG"
     18 	exit 1
     19 fi
     20 
     21 set -xv
     22 rm -f "$ldir/tight.c" "$ldir/turbojpeg.h"
     23 mv "$ldir/tight.c.ORIG" "$ldir/tight.c"
     24 mv "$ldir/rfbserver.c.ORIG" "$ldir/rfbserver.c"
     25 ls -l $ldir/tight.c* $ldir/rfbserver.c*
     26