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@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 10ldir="../../../libvncserver" 11 12if [ ! -f "$ldir/tight.c.ORIG" ]; then 13 ls -l "$ldir/tight.c.ORIG" 14 exit 1 15fi 16if [ ! -f "$ldir/rfbserver.c.ORIG" ]; then 17 ls -l "$ldir/rfbserver.c.ORIG" 18 exit 1 19fi 20 21set -xv 22rm -f "$ldir/tight.c" "$ldir/turbojpeg.h" 23mv "$ldir/tight.c.ORIG" "$ldir/tight.c" 24mv "$ldir/rfbserver.c.ORIG" "$ldir/rfbserver.c" 25ls -l $ldir/tight.c* $ldir/rfbserver.c* 26