diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2008-08-22 19:03:08 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2008-08-22 19:03:08 +0000 |
| commit | 5f337a11124d21ddfcf63c277965c38a9f97e92d (patch) | |
| tree | a58836e901bd2e2921b7c71be9e5e980766c387e /trunk | |
| parent | 2376577da19b264741e83ea77be0a275a52b3cbb (diff) | |
| download | gentoolkit-5f337a11124d21ddfcf63c277965c38a9f97e92d.tar.gz | |
Change TMPDIR references to WORKING_DIR in messages
svn path=/; revision=504
Diffstat (limited to 'trunk')
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index be393f3..c2f3f57 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -527,7 +527,6 @@ get_search_env() { local old_env local uid=$(python -c 'import os; import pwd; print pwd.getpwuid(os.getuid())[0]') # Find a place to put temporary files - # Use "${TMPDIR}/revdep-rebuild" or /tmp/revdep-rebuild if [[ "$uid" == "root" ]]; then local tmp_target="/var/cache/${APP_NAME}" else @@ -1067,13 +1066,13 @@ cleanup() { einfo ' (you can edit package/ebuild list first)' einfo einfo 'To remove temporary files, please run:' - einfo "rm ${TMPDIR}/$APP_NAME/*.rr" + einfo "rm ${WORKING_DIR}/*.rr" show_unowned_files exit $EMERGE_STATUS elif is_real_merge; then trap_cmd() { eerror "terminated. Please remove the temporary files manually:" - eerror "rm ${TMPDIR}/$APP_NAME/*.rr" + eerror "rm ${WORKING_DIR}/*.rr" exit 1 } [[ "${SKIP_LIST[@]}" != "" ]] && list_skipped_packages |
