1.5.2: Use proper number of dollars for variable.

Reported by Kouichirou Hiratsuka in PR 25259.
This commit is contained in:
wiz 2004-04-20 16:26:07 +00:00
parent 9b0bfa4809
commit 057018bdaf
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.18 2004/02/21 18:12:38 jmmv Exp $ # $NetBSD: Makefile,v 1.19 2004/04/20 16:26:07 wiz Exp $
DISTNAME= pkg_tarup-1.5.1 DISTNAME= pkg_tarup-1.5.2
CATEGORIES= pkgtools CATEGORIES= pkgtools
MASTER_SITES= # empty MASTER_SITES= # empty
DISTFILES= # empty DISTFILES= # empty

View file

@ -1,6 +1,6 @@
#! @SH@ #! @SH@
# #
# $Id: pkg_tarup,v 1.11 2003/12/11 16:29:08 erh Exp $ # $Id: pkg_tarup,v 1.12 2004/04/20 16:26:07 wiz Exp $
# #
# Tar up installed package # Tar up installed package
# #
@ -24,7 +24,7 @@ SU=${SU:-@SU@}
if [ `${ID} -u` != 0 ]; then if [ `${ID} -u` != 0 ]; then
${ECHO} "Becoming root@`/bin/hostname` to create a binary package" ${ECHO} "Becoming root@`/bin/hostname` to create a binary package"
${ECHO} -n "`${ECHO} ${SU} | ${AWK} '{ print $$1 }'` ";\ ${ECHO} -n "`${ECHO} ${SU} | ${AWK} '{ print $1 }'` ";\
exec ${SU} root -c "$0 $@" exec ${SU} root -c "$0 $@"
fi fi

View file

@ -1,6 +1,6 @@
#! @SH@ #! @SH@
# #
# $Id: pkg_tarup_all,v 1.2 2003/09/16 23:19:47 erh Exp $ # $Id: pkg_tarup_all,v 1.3 2004/04/20 16:26:07 wiz Exp $
# #
# Tar up installed package plus dependencies # Tar up installed package plus dependencies
# #
@ -21,7 +21,7 @@ PKG_INFO=${PKG_INFO:-@PKG_INFO@}
if [ `${ID} -u` != 0 ]; then if [ `${ID} -u` != 0 ]; then
${ECHO} "Becoming root@`/bin/hostname` to create binary packages" ${ECHO} "Becoming root@`/bin/hostname` to create binary packages"
${ECHO} -n "`${ECHO} ${SU} | ${AWK} '{ print $$1 }'` ";\ ${ECHO} -n "`${ECHO} ${SU} | ${AWK} '{ print $1 }'` ";\
exec ${SU} root -c "$0 $@" exec ${SU} root -c "$0 $@"
fi fi