mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add -L to the mtree invocation to chase symbolic links that are present
in "Service jails." Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
This commit is contained in:
parent
b6d82b1ae9
commit
7d7a10d261
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ MM_MAKE="make ${ARCHSTRING} -m ${SOURCEDIR}/share/mk"
|
|||
#
|
||||
CHANGED=
|
||||
if [ -n "${AUTO_UPGRADE}" -a -f "${DESTDIR}${MTREEFILE}" ]; then
|
||||
for file in `mtree -eq -f ${DESTDIR}${MTREEFILE} -p ${DESTDIR}/ \
|
||||
for file in `mtree -eqL -f ${DESTDIR}${MTREEFILE} -p ${DESTDIR}/ \
|
||||
2>/dev/null | awk '($2 == "changed") {print $1}'`; do
|
||||
if [ -f "${DESTDIR}/$file" ]; then
|
||||
CHANGED="${CHANGED} ${DESTDIR}/$file"
|
||||
|
|
|
|||
Loading…
Reference in a new issue