about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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: