diff options
author | rh <rh> | 1999-04-16 10:50:12 +0000 |
---|---|---|
committer | rh <rh> | 1999-04-16 10:50:12 +0000 |
commit | 839767ba831fdec3fc2a4fa7de61a35279bb2aca (patch) | |
tree | 9de1e4593d9e9ab3d87301cb952700a6c01ab27a /pkgtools/pkg_install/Makefile | |
parent | fe33db62b6d6e3472e7c93e2bf06ff821039e82a (diff) | |
download | pkgsrc-839767ba831fdec3fc2a4fa7de61a35279bb2aca.tar.gz |
Fix shell error causing "Syntax error: end of file unexpected"
if ${PKG_DBDIR} is missing
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 2041492ef7b..4077c95059c 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 1999/03/30 12:52:36 hubertf Exp $ +# $NetBSD: Makefile,v 1.16 1999/04/16 10:50:12 rh Exp $ # # Note to package maintainers: @@ -31,7 +31,7 @@ MANCOMPRESSED= yes .endif post-install: - if [ ! -f $${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then + if [ ! -f $${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then \ if [ ! -d $${PKG_DBDIR:-/var/db/pkg} ]; then \ ${MKDIR} $${PKG_DBDIR:-/var/db/pkg}; \ fi; \ |