[intel/repo] post-update hook: respect $ROOT
This commit is contained in:
parent
548683a297
commit
1630a9c125
@ -76,7 +76,7 @@ cat << EOF >> "${tmp_path}"
|
||||
enabled_not_satisfied = enabled_use - pkguse
|
||||
EOF
|
||||
|
||||
( cd / && patch -N -r - -p1 < "${tmp_path}" 2>&1 > /dev/null ) # ignore any outcome
|
||||
( cd "${ROOT}/" && patch -N -r - -p1 < "${tmp_path}" 2>&1 > /dev/null ) # ignore any outcome
|
||||
rm -f "${tmp_path}"
|
||||
|
||||
exit 0
|
||||
|
@ -76,7 +76,7 @@ cat << EOF >> "${tmp_path}"
|
||||
enabled_not_satisfied = enabled_use - pkguse
|
||||
EOF
|
||||
|
||||
( cd / && patch -N -r - -p1 < "${tmp_path}" 2>&1 > /dev/null ) # ignore any outcome
|
||||
( cd "${ROOT}/" && patch -N -r - -p1 < "${tmp_path}" 2>&1 > /dev/null ) # ignore any outcome
|
||||
rm -f "${tmp_path}"
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user