Files
ncf/0001-Use-the-installed-ncf-tools-dir.patch

27 lines
681 B
Diff

From 918e30571ce22ce686d77cead19c6f50e52ac1f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Sun, 9 Feb 2014 15:52:32 +0100
Subject: [PATCH] Use the installed ncf/tools dir
---
ncf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ncf b/ncf
index 9d47eb8d18db..0f3cdc5f477d 100755
--- a/ncf
+++ b/ncf
@@ -8,7 +8,8 @@ import shutil
DEFAULT_NCF_DIR = '/usr/share/ncf'
-NCF_DIR = os.path.dirname(os.path.realpath(__file__))
+# NCF_DIR = os.path.dirname(os.path.realpath(__file__))
+NCF_DIR = DEFAULT_NCF_DIR
NCF_TREE_DIR = os.path.join(NCF_DIR, 'tree')
NCF_TOOLS_DIR = os.path.join(NCF_DIR, 'tools')
--
1.8.4.5