Initial revision

This commit is contained in:
ceriel 1987-01-13 10:01:07 +00:00
parent 28b3286e21
commit 673b1d79e2
2 changed files with 22 additions and 0 deletions

6
util/ego/compare Executable file
View file

@ -0,0 +1,6 @@
case $# in
1) DEST="$1" ;;
2) DEST="$2" ;;
*) echo $0 [source] destination ;;
esac
cmp "$1" ../../../lib/ego/$DEST

16
util/ego/install Executable file
View file

@ -0,0 +1,16 @@
case $# in
1) DEST="$1" ;;
2) DEST="$2" ;;
*) echo $0 [source] destination ;;
esac
mkdir ../../../lib/ego > /dev/null 2>&1
if cp "$1" ../../../lib/ego/$DEST >/dev/null 2>&1 ||
{ rm -f ../../../lib/ego/$DEST >/dev/null 2>&1 &&
cp "$1" ../../../lib/ego/$DEST >/dev/null 2>&1
}
then
exit 0
else
echo Sorry, can not create "lib/ego/$DEST".
exit 1
fi