master
parent
43e2d0c14f
commit
40fb31e6f6
|
|
@ -60,7 +60,7 @@ main() {
|
||||||
threshold="$max_of_last_n"
|
threshold="$max_of_last_n"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
threshold="$(perl -e "print $threshold + 0.005")"
|
threshold="$(_perl -e "print $threshold + 0.005")"
|
||||||
|
|
||||||
local has_change=false
|
local has_change=false
|
||||||
if [ "${#flattened_scores[@]}" -lt 10 ]; then
|
if [ "${#flattened_scores[@]}" -lt 10 ]; then
|
||||||
|
|
@ -99,4 +99,12 @@ _date() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_perl() {
|
||||||
|
if which perl &> /dev/null; then
|
||||||
|
perl "$@"
|
||||||
|
else
|
||||||
|
/var/services/homes/squeaky2x3/.nix-profile/bin/perl "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue