diff options
author | jmmv <jmmv@pkgsrc.org> | 2002-12-14 23:27:50 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2002-12-14 23:27:50 +0000 |
commit | 0a620d2df536cd25286f3b3fdf3d729912af9600 (patch) | |
tree | 499f2606db96b9ed9950ab984359289f84080902 /pkgtools | |
parent | e192c49141b5c6f66759f2853b52d9ed22dc53a4 (diff) | |
download | pkgsrc-0a620d2df536cd25286f3b3fdf3d729912af9600.tar.gz |
Quote $? variable in a here document, so it is not expanded during its
generation. Pointed out by Stoned Elipot. Bump version to 1.2.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_comp/Makefile | 6 | ||||
-rw-r--r-- | pkgtools/pkg_comp/files/pkg_comp.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/pkg_comp/Makefile b/pkgtools/pkg_comp/Makefile index 0b9285ee4bb..a09e073b534 100644 --- a/pkgtools/pkg_comp/Makefile +++ b/pkgtools/pkg_comp/Makefile @@ -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 diff --git a/pkgtools/pkg_comp/files/pkg_comp.sh b/pkgtools/pkg_comp/files/pkg_comp.sh index 8649cc54ff7..04442c7301d 100644 --- a/pkgtools/pkg_comp/files/pkg_comp.sh +++ b/pkgtools/pkg_comp/files/pkg_comp.sh @@ -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 |