Quote $? variable in a here document, so it is not expanded during its
generation. Pointed out by Stoned Elipot. Bump version to 1.2.
This commit is contained in:
parent
e192c49141
commit
0a620d2df5
2 changed files with 5 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.2 2002/09/25 18:57:49 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2002/12/14 23:27:50 jmmv Exp $
|
||||
|
||||
DISTNAME= pkg_comp-1.1
|
||||
DISTNAME= pkg_comp-1.2
|
||||
CATEGORIES= pkgtools
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
MAINTAINER= jmmv@hispabsd.org
|
||||
MAINTAINER= jmmv@netbsd.org
|
||||
COMMENT= Build packages inside a chroot jail
|
||||
|
||||
EXTRACT_ONLY= # empty
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: pkg_comp.sh,v 1.1.1.1 2002/09/07 00:08:49 rh Exp $
|
||||
# $NetBSD: pkg_comp.sh,v 1.2 2002/12/14 23:27:51 jmmv Exp $
|
||||
#
|
||||
# pkg_comp - Build packages inside a clean chroot environment
|
||||
# Copyright (c) 2002, Julio Merino <jmmv@hispabsd.org>
|
||||
|
@ -328,7 +328,7 @@ pkg_build()
|
|||
#!/bin/sh
|
||||
cd /usr/pkgsrc/$p
|
||||
make $BUILD_TARGET
|
||||
if [ $? != 0 ]; then
|
||||
if [ \$? != 0 ]; then
|
||||
touch /pkg_comp/tmp/`basename $statfile`
|
||||
fi
|
||||
make clean
|
||||
|
|
Loading…
Reference in a new issue