aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-08-15 15:48:14 +0000
committerUlrich Müller <ulm@gentoo.org>2009-08-15 15:48:14 +0000
commitad2d4f9654286cb082319e5dbb503ee133f1520e (patch)
treeeb5a104ee94623116693011e1273496ef1067713 /modules/profile.eselect
parentUpdate Makefiles. (diff)
downloadeselect-ad2d4f9654286cb082319e5dbb503ee133f1520e.tar.gz
eselect-ad2d4f9654286cb082319e5dbb503ee133f1520e.tar.bz2
eselect-ad2d4f9654286cb082319e5dbb503ee133f1520e.zip
Remove calls to pushd and popd.
svn path=/trunk/; revision=614
Diffstat (limited to 'modules/profile.eselect')
-rw-r--r--modules/profile.eselect6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/profile.eselect b/modules/profile.eselect
index 07693cb..51df9fd 100644
--- a/modules/profile.eselect
+++ b/modules/profile.eselect
@@ -66,10 +66,8 @@ set_symlink() {
remove_symlink \
|| die -q "Couldn't remove current make.profile symlink"
fi
-
- pushd "${EROOT}/etc" 1>/dev/null
- ln -s "..${portdir#"${EPREFIX}"}/profiles/${target}" make.profile
- popd 1>/dev/null
+ ln -s "..${portdir#"${EPREFIX}"}/profiles/${target}" \
+ "${EROOT}/etc/make.profile"
else
die -q "Target \"${1}\" doesn't appear to be valid!"
fi