Return to install CVS log | Up to [local] / OpenXM_contrib / pari / config |
1.1 maekawa 1: #! /bin/sh 2: 3: mode=755 4: while test $# -gt 0; do 5: case "$1" in 6: -c);; 7: -m) shift; mode=$1;; 8: *) break;; 9: esac 10: shift 11: done 12: 13: if test -d "$2"; then 14: file=$2/`basename $1` 15: else 16: file=$2 17: fi 18: 19: cp $1 $2; 20: if test -f "$file"; then chmod $mode $file; fi