head	1.5;
access;
symbols
	charm6_1:1.5
	charm_6_0_1:1.5
	charm6_0_1:1.5
	charm6_0:1.5
	ChaNGa_1-0:1.5
	charm5_9:1.5
	charm_5-4-2:1.5
	charm_5-4-1:1.5
	pre-winnt-version:1.2
	charm500:1.2
	charm499:1.2;
locks; strict;
comment	@# @;


1.5
date	2001.01.29.21.30.26;	author olawlor;	state Exp;
branches;
next	1.4;

1.4
date	2000.12.13.04.33.07;	author olawlor;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.08.22.03.36;	author olawlor;	state Exp;
branches;
next	1.2;

1.2
date	97.08.01.22.38.48;	author milind;	state Exp;
branches;
next	1.1;

1.1
date	97.07.30.19.58.01;	author jyelon;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Use "system_ln" command instead of "ln -s".
On win32, "system_ln" is actually "cp -f".
@
text
@#!/bin/sh

if [ -d $1 ] ; then

SRC=$1
DST=$2

rm -f temp.f temp.l
if [ ! -d $DST ] ; then mkdir $DST ; fi
(cd $SRC ; find . -name CVS -prune -o -type f -print)|sed -e s@@.@@@@>temp.f
awk '{print "./system_ln '$SRC'"$1" '$DST'";}' < temp.f > temp.l
sh temp.l
rm -f temp.d temp.l

fi
@


1.4
log
@Added -f to "ln" calls, which allows, e.g., mpi-sp/charmrun
to overwrite Common.mpi/charmrun.
@
text
@d11 1
a11 1
awk '{print "ln -f -s '$SRC'"$1" '$DST'";}' < temp.f > temp.l
@


1.3
log
@Made soft links use relative pathnames instead of absolute.
This lets you move a charm++ installation without having
to recompile anything.

It also stops the confusing oddness that happens when you
move, e.g., charm to old_charm, and install a new charm.
Then the old_charm (absolute) soft links point into the
new charm directory!
@
text
@d11 1
a11 1
awk '{print "ln -s '$SRC'"$1" '$DST'";}' < temp.f > temp.l
@


1.2
log
@Fixed gatherflat problem.
Also fixed optimization flags.
@
text
@d5 1
a5 1
SRC=`(cd $1 ; pwd)`
@


1.1
log
@*** empty log message ***
@
text
@d3 2
d14 2
@
