Commit 019ee5aa authored by Vincent Danjean's avatar Vincent Danjean
Browse files

script cleanup

parent 75b2690d
......@@ -35,13 +35,9 @@ remove_any() {
search() {
needle=$1
shift
for hay in $*
do
if [ "$needle" = "$hay" ]
then
return 0
fi
done
case " $* " in
*\ $needle\ *) return 0;;
esac
return 1
}
......
......@@ -25,7 +25,7 @@ then
then
rm -fr local_run
fi
export VPL_SUBFILES=$(ls cf rf hf 2>/dev/null | sort | uniq)
export VPL_SUBFILES=$(find cf rf hf -maxdepth 1 -printf "%P\n" 2>/dev/null | sort | uniq)
export VPL_GRADEMIN=${VPL_GRADEMIN-0.0}
export VPL_GRADEMAX=${VPL_GRADEMAX-100.0}
local_files=$(echo rf/* cf/* hf/* ef/*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment