# HG changeset patch # User mas90 # Date 1233765716 0 # Wed Feb 04 16:41:56 2009 +0000 # Node ID 17ee0ada840e4d407120d8c37c6de89d54c82657 # Parent 216f034c004f4de1c55c0766c4f576521e226b3c Remove dependency on bash -- hopefully no more bashisms left diff --git a/fetch-sanesecurity-sigs b/fetch-sanesecurity-sigs --- a/fetch-sanesecurity-sigs +++ b/fetch-sanesecurity-sigs @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # fetch-sanesecurity-sigs # by Malcolm Scott, Retrosnub Internet Services @@ -139,7 +139,7 @@ # 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