about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-20 21:38:20 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-20 22:35:50 -0700
commit1220e4590f7919ad9499b904616e7d95b226a8b2 (patch)
tree8958bfc7faef7ba0b9d125f529a99d9493fde70c
parent2e5f49904a95647c5355e4c21a4976660c63185a (diff)
downloadrainbows-1220e4590f7919ad9499b904616e7d95b226a8b2.tar.gz
The cmp test was completely unnecessary and
pointless.
-rw-r--r--t/GNUmakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile
index 552f9d0..16f6e36 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -55,8 +55,7 @@ test-bin-$(RUBY_VERSION)/rainbows: ../bin/rainbows
         mkdir -p $(@D)
         install -m 755 $^ $@+
         $(ruby) -i -p -e '$$_.gsub!(%r{^#!.*$$},"#!$(ruby_bin)")' $@+
-        cmp $@+ $@ 2>/dev/null || mv $@+ $@
-        $(RM) $@+
+        mv $@+ $@
 
 req_random_blob := $(wildcard t?1??-*.sh)
 random_blob: