You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/atom/files/atom-python-r1.patch

26 lines
506 B

From fae3881a3fa5bf58c696c5bd9c74c62a2113cb12 Mon Sep 17 00:00:00 2001
From: Elvis Pranskevichus <elvis@magic.io>
Date: Sat, 29 Sep 2018 16:12:39 -0400
Subject: [PATCH] Use Python 2
---
atom.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/atom.sh b/atom.sh
index 0ad3f5b23..62fe682fe 100755
--- a/atom.sh
+++ b/atom.sh
@@ -62,6 +62,8 @@ if [ $REDIRECT_STDERR ]; then
exec 2> /dev/null
fi
+export PYTHON=python2
+
ATOM_HOME="${ATOM_HOME:-$HOME/.atom}"
mkdir -p "$ATOM_HOME"
--
2.16.4