From 684d37ee2bed6dae915561b64d3efb3d0febee4b Mon Sep 17 00:00:00 2001
From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de>
Date: Tue, 10 Jan 2012 12:10:19 +0000
Subject: [PATCH] test: fix Makefile to allow building if sources are read-only

---
 test/validate/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/validate/Makefile b/test/validate/Makefile
index e7044a34..beb09ee0 100644
--- a/test/validate/Makefile
+++ b/test/validate/Makefile
@@ -128,6 +128,7 @@ $(COMMON_DIR)/vxTestHarness.db: $(REGRESSION_TESTS_WITH_DB:%=../%.db)
 st.cmd: ../st.cmd.vxWorks ../makeStCmd.pl
 	$(RM) $@.tmp
 	$(CP) ../st.cmd.vxWorks $@.tmp
+	$(PERL) -MExtUtils::Command -e chmod 644 $@.tmp
 	$(PERL) ../makeStCmd.pl $(REGRESSION_TESTS) >> $@.tmp
 	$(MV) $@.tmp $@
 
-- 
GitLab