[intel/repo] post-update hook: respect $ROOT

This commit is contained in:
Fabio Erculiani 2012-04-25 11:11:16 +02:00
parent 548683a297
commit 1630a9c125
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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