undo_turbovnc 721 Bytes
Newer Older
1
#!/bin/sh
2 3 4 5 6 7 8
#
# This script has been (or is hereby) released into the public domain by
# its author, Karl J. Runge <runge@karlrunge.com>. This applies worldwide.
# 
# In case this is not legally possible: Karl J. Runge grants anyone the
# right to use this work for any purpose, without any conditions, unless
# such conditions are required by law.
9 10 11 12 13 14 15

ldir="../../../libvncserver"

if [ ! -f "$ldir/tight.c.ORIG" ]; then
	ls -l "$ldir/tight.c.ORIG"
	exit 1
fi
16 17 18 19
if [ ! -f "$ldir/rfbserver.c.ORIG" ]; then
	ls -l "$ldir/rfbserver.c.ORIG"
	exit 1
fi
20 21 22 23

set -xv
rm -f "$ldir/tight.c" "$ldir/turbojpeg.h"
mv "$ldir/tight.c.ORIG" "$ldir/tight.c"
24 25
mv "$ldir/rfbserver.c.ORIG" "$ldir/rfbserver.c"
ls -l $ldir/tight.c* $ldir/rfbserver.c*