-mkdir the ${DESTDIR}/modules directory upon modules-install in case it
doesn't exist. This could bite you by allowing you merrily install your modules one on top of the other as the regular file ${DESTDIR}/modules and think it completed properly...
This commit is contained in:
parent
259b9bfa7c
commit
996bc21683
@ -308,6 +308,7 @@ modules-install modules-install.debug:
|
||||
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old ; \
|
||||
fi;
|
||||
.endif
|
||||
-mkdir ${DESTDIR}/modules
|
||||
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
|
||||
|
||||
modules-reinstall modules-reinstall.debug:
|
||||
|
@ -267,6 +267,7 @@ modules-install modules-install.debug:
|
||||
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
|
||||
fi;
|
||||
.endif
|
||||
-mkdir ${DESTDIR}/modules
|
||||
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
|
||||
|
||||
modules-reinstall modules-reinstall.debug:
|
||||
|
@ -270,6 +270,7 @@ modules-install modules-install.debug:
|
||||
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
|
||||
fi;
|
||||
.endif
|
||||
-mkdir ${DESTDIR}/modules
|
||||
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
|
||||
|
||||
modules-reinstall modules-reinstall.debug:
|
||||
|
@ -267,6 +267,7 @@ modules-install modules-install.debug:
|
||||
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
|
||||
fi;
|
||||
.endif
|
||||
-mkdir ${DESTDIR}/modules
|
||||
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
|
||||
|
||||
modules-reinstall modules-reinstall.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user