summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/hash.rc5
-rw-r--r--scripts/tree.rc5
2 files changed, 2 insertions, 8 deletions
diff --git a/scripts/hash.rc b/scripts/hash.rc
index 3d7235d7..e33b5682 100644
--- a/scripts/hash.rc
+++ b/scripts/hash.rc
@@ -8,10 +8,7 @@ mode=$3
name=$4
shift 4
-fn checkstatus {
- s=$status if(! ~ $s '' '|') exit $s
- status=()
-}
+fn checkstatus {}
hash=`{
switch($mode) {
diff --git a/scripts/tree.rc b/scripts/tree.rc
index 28916224..12bf9c32 100644
--- a/scripts/tree.rc
+++ b/scripts/tree.rc
@@ -6,10 +6,7 @@ repo=$1
tag=$2
index=$3
-fn checkstatus {
- s=$status if(! ~ $s '' '|') exit $s
- status=()
-}
+fn checkstatus {}
ifs=() { oldcwd=`{pwd | head -c -1} }
cd $repo