Put ${PREFIX}/{bin,sbin} in PATH before /bin:/sbin:/usr/bin:/usr/sbin to
fix problem reported by pancake in PR pkg/26940.
This commit is contained in:
parent
947623ee66
commit
50600c0590
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
#! @SH@
|
||||
#
|
||||
# $Id: pkg_tarup,v 1.16 2004/10/06 15:27:28 erh Exp $
|
||||
# $Id: pkg_tarup,v 1.17 2004/10/13 23:18:35 xtraeme Exp $
|
||||
#
|
||||
# Tar up installed package
|
||||
#
|
||||
|
@ -11,7 +11,7 @@
|
|||
|
||||
PREFIX=${PREFIX:-@PREFIX@}
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:@PKG_TOOLS_BIN@
|
||||
PATH=${PREFIX}/sbin:${PREFIX}/bin:/sbin:/bin:/usr/sbin:/usr/bin:@PKG_TOOLS_BIN@
|
||||
export PATH
|
||||
|
||||
OS=`uname -s`
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#! @SH@
|
||||
# $NetBSD: pkg_tarup_all,v 1.4 2004/07/14 16:08:48 erh Exp $
|
||||
# $NetBSD: pkg_tarup_all,v 1.5 2004/10/13 23:18:35 xtraeme Exp $
|
||||
|
||||
PREFIX=${PREFIX:-@PREFIX@}
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:@PKG_TOOLS_BIN@
|
||||
PATH=${PREFIX}/sbin:${PREFIX}/bin:/sbin:/bin:/usr/sbin:/usr/bin:@PKG_TOOLS_BIN@
|
||||
export PATH
|
||||
|
||||
${PREFIX}/bin/pkg_tarup -a "$@"
|
||||
|
|
Loading…
Reference in a new issue