Parcourir la source

[master] use install-sh (with -m) instead of cp to make sure writable test
DB file has write permission. hopefully it should fix the distcheck failure
on the freebsd8 buildbot.

JINMEI Tatuya il y a 13 ans
Parent
commit
8d1942a3b7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/lib/datasrc/tests/testdata/Makefile.am

+ 2 - 1
src/lib/datasrc/tests/testdata/Makefile.am

@@ -1,5 +1,6 @@
 CLEANFILES = *.copied
 BUILT_SOURCES = rwtest.sqlite3.copied
 
+# We use install-sh with the -m option to make sure it's writable
 rwtest.sqlite3.copied: $(srcdir)/rwtest.sqlite3
-	cp $(srcdir)/rwtest.sqlite3 $@
+	$(top_srcdir)/install-sh -m 644 $(srcdir)/rwtest.sqlite3 $@