summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/etc-update4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update
index 27d7bca35..0b0e3dede 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -10,6 +10,8 @@
# Leo Lipelis <aeoo@gentoo.org>
# Karl Trygve Kalleberg <karltk@gentoo.org>
+cd /
+
if type -P gsed >/dev/null ; then
function sed() { gsed "$@"; }
fi