summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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