summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-11-21 22:20:16 +0000
committerUlrich Müller <ulm@gentoo.org>2009-11-21 22:20:16 +0000
commit6d2da9c04fd064778ddaef22d0a284f1f07c665d (patch)
tree9ff0e4ba9b22b76521fc5bf814e72e9876749353 /app-editors
parentFix default editor handling, bug 286017. (diff)
downloadgentoo-2-6d2da9c04fd064778ddaef22d0a284f1f07c665d.tar.gz
gentoo-2-6d2da9c04fd064778ddaef22d0a284f1f07c665d.tar.bz2
gentoo-2-6d2da9c04fd064778ddaef22d0a284f1f07c665d.zip
Use . instead of source, thanks aballier.
(Portage version: 2.2_rc50/cvs/Linux i686)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/gentoo-editor/files/gentoo-editor-1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/gentoo-editor/files/gentoo-editor-1.sh b/app-editors/gentoo-editor/files/gentoo-editor-1.sh
index 0a89f483eb58..e43acd2536b1 100644
--- a/app-editors/gentoo-editor/files/gentoo-editor-1.sh
+++ b/app-editors/gentoo-editor/files/gentoo-editor-1.sh
@@ -19,7 +19,7 @@ fi
if [ -z "${EDITOR}" ]; then
# Try to get EDITOR from system profile
- EDITOR=$(source /etc/profile &>/dev/null; echo "${EDITOR}")
+ EDITOR=$(. /etc/profile &>/dev/null; echo "${EDITOR}")
fi
if [ -z "${EDITOR}" ]; then