863 |
for ex in $extra_runs ; do |
for ex in $extra_runs ; do |
864 |
test -e "$dir/tr_run" && rm -rf "$dir/tr_run" |
test -e "$dir/tr_run" && rm -rf "$dir/tr_run" |
865 |
mkdir "$dir/tr_run" |
mkdir "$dir/tr_run" |
866 |
( cd "$dir/input" ; links=`ls -1 | grep -v CVS` ) |
links=`( cd "$dir/input" > /dev/null 2>&1 ; ls -1 | grep -v CVS )` |
867 |
( |
( |
868 |
cd "$dir/tr_run" |
cd "$dir/tr_run" |
869 |
for i in $links; do |
for i in $links; do |
870 |
ln -s ../input/$i $i |
ln -s ../input/$i $i |
871 |
done |
done |
872 |
) |
) |
873 |
( cd "$dir/input.$ex" ; links=`ls -1 | grep -v CVS` ) |
links=`( cd "$dir/input.$ex" > /dev/null 2>&1 ; ls -1 | grep -v CVS )` |
874 |
( |
( |
875 |
cd "$dir/tr_run" |
cd "$dir/tr_run" |
876 |
for i in $links; do |
for i in $links; do |