1130812Smarcel#!/bin/sh 2130812Smarcel 3130812Smarcel# Copyright (C) 1996 Free Software Foundation, Inc. 4130812Smarcel# 5130812Smarcel# This program is free software; you can redistribute it and/or modify 6130812Smarcel# it under the terms of the GNU General Public License as published by 7130812Smarcel# the Free Software Foundation; either version 2 of the License, or 8130812Smarcel# (at your option) any later version. 9130812Smarcel# 10130812Smarcel# This program is distributed in the hope that it will be useful, 11130812Smarcel# but WITHOUT ANY WARRANTY; without even the implied warranty of 12130812Smarcel# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13130812Smarcel# GNU General Public License for more details. 14130812Smarcel# 15130812Smarcel# You should have received a copy of the GNU General Public License 16130812Smarcel# along with this program; if not, write to the Free Software 17130812Smarcel# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18130812Smarcel 19130812Smarcelif 20130812Smarceltest -r $2 21130812Smarcelthen 22130812Smarcelif 23130812Smarcelcmp $1 $2 > /dev/null 24130812Smarcelthen 25130812Smarcelecho $2 is unchanged 26130812Smarcelrm -f $1 27130812Smarcelelse 28130812Smarcelmv -f $1 $2 29130812Smarcelfi 30130812Smarcelelse 31130812Smarcelmv -f $1 $2 32130812Smarcelfi 33