diff --git a/sunrise-commit b/sunrise-commit index c6d0705..8599d1a 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -145,15 +145,16 @@ find_ebuilds() { SC_REMOVED_PACKAGE_LIST=${SC_REMOVED_PACKAGE_LIST:+${SC_REMOVED_PACKAGE_LIST} }${category}${pkg} done - # Replace with the filtered version + SC_ROOT=${category:+../} + + # Replace with the filtered version, placing all atoms + # relative to SC_ROOT SC_CHANGE_LIST= - for pkg in ${CS_REMOVED_PACKAGE_LIST}; do - SC_CHANGE_LIST="${SC_CHANGE_LIST} ${SC_ROOT}${pkg}" + for pkg in ${SC_REMOVED_PACKAGE_LIST}; do + SC_CHANGE_LIST="${SC_CHANGE_LIST}${SC_CHANGE_LIST:+ }${SC_ROOT}${pkg}" done local sdir - SC_ROOT=${category:+../} - for sdir in eclass licenses profiles; do check_for_changes ${SC_ROOT}${sdir} >/dev/null && SC_CHANGE_LIST="${SC_CHANGE_LIST} ${SC_ROOT}${sdir}" done