From 01d95c61ea17fc6aaa3d00ca87491eff10c64bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 8 Jul 2015 14:43:14 +0200 Subject: [PATCH] Simplify the launcher --- cura | 10 ---------- cura.spec | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/cura b/cura index 322824e..2c711c6 100755 --- a/cura +++ b/cura @@ -1,15 +1,5 @@ #!/usr/bin/python -import os -import sys import Cura.cura as cura -# Make all paths absolute, we are gonna change the pwd -for i in range(len(sys.argv)): - if os.path.exists(sys.argv[i]): - sys.argv[i] = os.path.abspath(sys.argv[i]) -# change the pwd -os.chdir("/usr/lib/python2.7/site-packages/") - -# start cura cura.main() diff --git a/cura.spec b/cura.spec index 5e85be9..aadf099 100644 --- a/cura.spec +++ b/cura.spec @@ -121,6 +121,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} %changelog * Wed Jul 08 2015 Miro Hrončok - 15.02.1-4 - No longer depend on pypy +- Simplify the launcher * Mon Jul 06 2015 Miro Hrončok - 15.02.1-3 - Patch for #1230281