ensure we can find strip(1)
This commit is contained in:
parent
20b97d46a1
commit
69554a41b9
1 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $NetBSD: mkbinarykit,v 1.10 2004/12/21 14:12:50 grant Exp $
|
||||
# $NetBSD: mkbinarykit,v 1.11 2005/01/16 03:02:02 grant Exp $
|
||||
#
|
||||
# Make a binary bootstrap kit and place it in targetdir (or current
|
||||
# working directory if not specified). The mk.conf.example file is
|
||||
|
@ -122,9 +122,14 @@ fi
|
|||
|
||||
# Make a tar ball
|
||||
|
||||
strip=strip
|
||||
if [ -x /usr/ccs/bin/strip ]; then
|
||||
strip=/usr/ccs/bin/strip
|
||||
fi
|
||||
|
||||
echo "Stripping binaries..."
|
||||
strip "$prefix/"bin/*
|
||||
strip "$prefix/"sbin/*
|
||||
$strip "$prefix/"bin/*
|
||||
$strip "$prefix/"sbin/*
|
||||
|
||||
echo "Making binary kit."
|
||||
PATH="$prefix/bin:$PATH"; export PATH # in case tar was built by bootstrap
|
||||
|
|
Loading…
Reference in a new issue