aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2006-07-05 21:05:15 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2006-07-05 21:05:15 +0000
commit3d7ecc0ab67ffdc5b88ff68706f164582458f9b6 (patch)
treedcad9dbc1114a7e4a7549fbcc673e4711519e046
parent7635b115fcc17ee50443c35027aa096fd3c3014f (diff)
downloadpaludis-3d7ecc0ab67ffdc5b88ff68706f164582458f9b6.tar.gz
paludis-3d7ecc0ab67ffdc5b88ff68706f164582458f9b6.tar.xz
Fix up path in dosym; deprecate retarded donewins
-rw-r--r--ebuild/utils/donewins2
-rw-r--r--ebuild/utils/dosym2
2 files changed, 4 insertions, 0 deletions
diff --git a/ebuild/utils/donewins b/ebuild/utils/donewins
index e1dfc2b..90f0377 100644
--- a/ebuild/utils/donewins
+++ b/ebuild/utils/donewins
@@ -33,6 +33,8 @@ if [[ ${#} -ne 2 ]]; then
exit 1
fi
+ebuild_notice "qa" "${0} is retarded. Don't use it; use newins instead."
+
rm -rf "${T}/${2}"
cp "${1}" "${T}/${2}"
doins "${T}/${2}"
diff --git a/ebuild/utils/dosym b/ebuild/utils/dosym
index 0bb29e5..b489c05 100644
--- a/ebuild/utils/dosym
+++ b/ebuild/utils/dosym
@@ -21,6 +21,8 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
+export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
+
if [[ ! -d ${D} ]]; then
echo "${0}: \${D} not valid; aborting" >&2
exit 247