Remove dependency on bash -- hopefully no more bashisms left
1 files changed, 2 insertions(+), 2 deletions(-) M fetch-sanesecurity-sigs
M fetch-sanesecurity-sigs +2 -2
@@ 1,4 1,4 @@ -#!/bin/bash +#!/bin/sh # # fetch-sanesecurity-sigs # by Malcolm Scott, Retrosnub Internet Services @@ 139,7 139,7 @@ fi # Check that min_interval seconds have elapsed since last run if [ -s "$data_dir/update-stamp" ] then - time_then="$(<"$data_dir/update-stamp")" + time_then="$(cat "$data_dir/update-stamp")" minutes_elapsed=$(( (time_now - time_then) / 60 )) if [ "$minutes_elapsed" -lt "$min_interval" ] then