source: asp3_gr_sakura/trunk/utils/move-if-change@ 317

Last change on this file since 317 was 317, checked in by coas-nagasima, 7 years ago

GR-SAKURA向けASP3を追加

File size: 158 bytes
Line 
1#! /bin/sh
2if test -r $2
3 then
4 if cmp -s $1 $2
5 then
6 echo $2 is unchanged
7 rm -f $1
8 else
9 mv -f $1 $2
10 fi
11else
12 mv -f $1 $2
13fi
Note: See TracBrowser for help on using the repository browser.