aboutsummaryrefslogtreecommitdiffstats
path: root/adv_cmds/xcodescripts/variant_links.sh
blob: 523c755aaa7b7a893a4efa58b81174fb04c04c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Variant links cannot be created in the actual target, because Strip/CodeSign/etc are
# after all other phases. Running it in the aggregate target guarantees that the variants
# are really linked to the actual stripped/signed binary.
#

set -ex

ln ${DSTROOT}/usr/bin/pkill ${DSTROOT}/usr/bin/pgrep
ln ${DSTROOT}/usr/share/man/man1/pkill.1 ${DSTROOT}/usr/share/man/man1/pgrep.1