Warning, /verification/lab_sea/input.longstep/prepare_run is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit 15ec4b1e on 2026-02-28 00:30:32 UTC
0c90ef582a Jean*0001 #! /usr/bin/env bash
0002
871ac80009 Jean*0003 #- In order to save disc space, take binary input files
0c90ef582a Jean*0004 #- from this dir:
0005 fromDir="../input.natl_box"
0006
15ec4b1e94 Jean*0007 fileList=`( cd $fromDir ; echo kf_* POLY3.COEFFS )`
0c90ef582a Jean*0008 #echo 'fileList=' $fileList
0009
0010 #- and do a symbolic link in the current directory
0011 # (if the file does not already exist)
0012 if test -d $fromDir ; then
0013 lnkList='files:'
0014 for xx in $fileList
0015 do
0016 if test -r ${fromDir}/$xx ; then
0017 if test ! -r $xx ; then
0018 lnkList=${lnkList}" "$xx
0019 ln -sf ${fromDir}/$xx .
0020 fi
0021 fi
0022 done
0023 echo ' link' $lnkList "from dir:" $fromDir
0024 else
0025 echo " Error:" $fromDir "not a directory"
0026 fi