Testsuite: Use cp+chmod instead of install
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 18 Jan 2018 16:34:15 +0000 (17:34 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 18 Jan 2018 16:34:15 +0000 (17:34 +0100)
On Solaris, install doesn't seem to behave as expected.
(Or, it has different installs and we call the wrong one)

test/Makefile.in

index c96fb4bddbac1407466bc1ee49a31a3b38cccba3..0f229a2cc24f253f7eecc937f03a679d5842d5fd 100644 (file)
@@ -26,7 +26,7 @@ all:            binaries sysbinaries
 
 binaries:      $(BINARIES)
 
-sysbinaries:   FORCE
+sysbinaries:   FORCE binaries
                sh -x bin/locate initdb postgres pg_ctl mysqld
                ls -la bin.sys
 
@@ -82,7 +82,8 @@ bin/showids:    $(SRC)/showids.c Makefile
                $(CC) $(CFLAGS) $(LDFLAGS) -o bin/showids $(SRC)/showids.c
 
 bin/locate:     $(SRC)/locate.sh Makefile
-               install -m 0755 $(SRC)/locate.sh bin/locate
+               cp $(SRC)/locate.sh bin/locate
+               chmod 0755 bin/locate
 
 clean:;         rm -rf $(BINARIES) bin.sys