d72ad93216
This is the name of the destination file. The destination directory is determined by compare.
8 lines
153 B
Plaintext
Executable file
8 lines
153 B
Plaintext
Executable file
case $# in
|
|
1) DEST="$1" ;;
|
|
2) DEST="$2" ;;
|
|
*) echo $0 [source] destination ;;
|
|
esac
|
|
MACH=`(cd .. ; basename \`pwd\`)`
|
|
cmp "$1" ../../../lib/${MACH}/$DEST
|