public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] eselect r614 - trunk/modules
@ 2009-08-15 15:48 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-08-15 15:48 UTC (permalink / raw
  To: gentoo-commits

Author: ulm
Date: 2009-08-15 15:48:14 +0000 (Sat, 15 Aug 2009)
New Revision: 614

Modified:
   trunk/modules/profile.eselect
Log:
Remove calls to pushd and popd.

Modified: trunk/modules/profile.eselect
===================================================================
--- trunk/modules/profile.eselect	2009-08-15 13:15:46 UTC (rev 613)
+++ trunk/modules/profile.eselect	2009-08-15 15:48:14 UTC (rev 614)
@@ -66,10 +66,8 @@
 			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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-15 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 15:48 [gentoo-commits] eselect r614 - trunk/modules Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox