Convert & stabilise tcsh-scripts
This commit is contained in:
parent
0661c1ad4b
commit
296b0bad0b
18 changed files with 108 additions and 228 deletions
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
|
@ -1,27 +1,19 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh -x
|
||||
|
||||
cd $1
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ..
|
||||
|
||||
|
||||
foreach proc(processor*)
|
||||
for proc in processor*; do
|
||||
cd $proc
|
||||
cd 0
|
||||
ln -s ../../../$2/$proc/0 solid
|
||||
ln -sf ../../../$2/$proc/0 solid
|
||||
cd ../constant
|
||||
ln -s ../../../$2/$proc/constant solid
|
||||
ln -sf ../../../$2/$proc/constant solid
|
||||
cd ../..
|
||||
end
|
||||
done
|
||||
|
|
|
@ -1,18 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
cd $1/constant
|
||||
|
||||
ln -sf ../../$2/constant solid
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
ln -sf ../../$2/system solid
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
ln -sf ../../$2/0 solid
|
||||
cd ../../
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm 0/solid
|
||||
|
||||
rm constant/solid
|
||||
|
||||
rm system/solid
|
||||
|
||||
rm -f 0/solid
|
||||
rm -f constant/solid
|
||||
rm -f system/solid
|
||||
cd ..
|
||||
|
|
Reference in a new issue