summaryrefslogtreecommitdiff
path: root/scripts/hash.rc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-07-04 21:47:17 -0700
committerMichael Forney <mforney@mforney.org>2016-07-04 21:47:29 -0700
commit51e359b2f85ab367e7cab74066fe7f4e5ff1d4ac (patch)
tree9b3383f138a822e039c98dc922ed7c1bf06ac3a5 /scripts/hash.rc
parent26eb7fe8d8daa97430b7e5256878db47b25d2cd5 (diff)
tzdata: Fix gen.rc to not require contents of source files
This also fixes a symlink target calculation bug.
Diffstat (limited to 'scripts/hash.rc')
-rw-r--r--scripts/hash.rc10
1 files changed, 4 insertions, 6 deletions
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