Mercurial > hg > release > icedtea7-2.2
view pax-mark-vm.in @ 2608:a59e86a12ac9 default tip
Added tag icedtea-2.2.9 for changeset c927db268b09
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Sun, 30 Jun 2013 00:48:18 +0100 |
parents | 70bfc9d0aa81 |
children |
line wrap: on
line source
#!/bin/sh # Taken from Gentoo's pax-utils.eclass list_paxables() { file "$@" 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//' } if test "@PAX_COMMAND@" != "not specified"; then for paxable in `list_paxables "${1}"/bin/* "${1}"/jre/bin/*`; do echo "PaX mark @PAX_COMMAND_ARGS@ ${paxable}" @PAX_COMMAND@ @PAX_COMMAND_ARGS@ "${paxable}" done fi