summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-06-17 11:00:36 +0000
committerobache <obache@pkgsrc.org>2011-06-17 11:00:36 +0000
commit6f9eb2fe3c0864679a0037212341a12bb60dbd0a (patch)
tree417e9261fec3a1cd33e2d2a6e988b476ef72ff29 /pkgtools
parenteebd7297b0726c609c23e33c9a9f6ca3bde1bc00 (diff)
downloadpkgsrc-6f9eb2fe3c0864679a0037212341a12bb60dbd0a.tar.gz
Fixes bsd.own.mk handling in bootstrap.sh script to same as pkg's Makefile.
PR#45061.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/bootstrap-mk-files/files/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/bootstrap.sh b/pkgtools/bootstrap-mk-files/files/bootstrap.sh
index 1084f656249..b27bacf9674 100755
--- a/pkgtools/bootstrap-mk-files/files/bootstrap.sh
+++ b/pkgtools/bootstrap-mk-files/files/bootstrap.sh
@@ -25,8 +25,8 @@ done
subst_pattern='s|@ROOT_GROUP@|'${ROOT_GROUP}'|g;s|@ROOT_USER@|'${ROOT_USER}'|g;s|@SYSCONFDIR@|'${SYSCONFDIR}'|g'
-if [ -f mods/${OPSYS}.own.mk.in ]; then
- ${SED} -e "${subst_pattern}" mods/${OPSYS}.own.mk.in > ${MK_DST}/bsd.own.mk
+if [ -f mods/${OPSYS}.bsd.own.mk.in ]; then
+ ${SED} -e "${subst_pattern}" mods/${OPSYS}.bsd.own.mk.in > ${MK_DST}/bsd.own.mk
else
${SED} -e "${subst_pattern}" mods/bsd.own.mk.in > ${MK_DST}/bsd.own.mk
fi