[BACK]Return to install CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / pari-2.2 / config

File: [local] / OpenXM_contrib / pari-2.2 / config / Attic / install (download)

Revision 1.1.1.1 (vendor branch), Tue Oct 2 11:16:55 2001 UTC (22 years, 8 months ago) by noro
Branch: NORO
CVS Tags: RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, PARI_2_2
Changes since 1.1: +0 -0 lines

Imported pari-2.2.1(alpha).

#! /bin/sh

mode=755
while test $# -gt 0; do
  case "$1" in
  -c);;
  -m) shift; mode=$1;;
  *) break;;
  esac
  shift
done

if test -d "$2"; then
  file=$2/`basename $1`
else
  file=$2
fi

cp $1 $2;
if test -f "$file"; then chmod $mode $file; fi