From 51e359b2f85ab367e7cab74066fe7f4e5ff1d4ac Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 4 Jul 2016 21:47:17 -0700 Subject: tzdata: Fix gen.rc to not require contents of source files This also fixes a symlink target calculation bug. --- scripts/hash.rc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/hash.rc b/scripts/hash.rc index 5f894a6b..90151183 100644 --- a/scripts/hash.rc +++ b/scripts/hash.rc @@ -3,10 +3,9 @@ flag e + repo=$1 -out=$2 -mode=$3 -name=$4 -shift 4 +mode=$2 +name=$3 +shift 3 fn checkstatus {} @@ -22,5 +21,4 @@ hash=`{ } checkstatus -printf '%s %s\t%s\n' $mode $hash $name >$out.tmp -mv $out.tmp $out +printf '%s %s\t%s\n' $mode $hash $name -- cgit v1.2.3