powerline/packages/archlinux/python-powerline-git/fontpatcher.py.patch

14 lines
1.0 KiB
Diff

diff --git a/font/fontpatcher.py b/font/fontpatcher.py
index e2bbf2a..aa172f6 100755
--- a/font/fontpatcher.py
+++ b/font/fontpatcher.py
@@ -21,7 +21,7 @@ except ImportError:
parser = argparse.ArgumentParser(description='Font patcher for Powerline. Requires FontForge with Python bindings. Stores the patched font as a new, renamed font file by default.')
parser.add_argument('target_fonts', help='font files to patch', metavar='font', nargs='+', type=argparse.FileType('rb'))
parser.add_argument('--no-rename', help='don\'t add " for Powerline" to the font name', default=True, action='store_false', dest='rename_font')
-parser.add_argument('--source-font', help='source symbol font', metavar='font', dest='source_font', default='{0}/fontpatcher-symbols.sfd'.format(sys.path[0]), type=argparse.FileType('rb'))
+parser.add_argument('--source-font', help='source symbol font', metavar='font', dest='source_font', default='/usr/share/powerline/fontpatcher-symbols.sfd', type=argparse.FileType('rb'))
args = parser.parse_args()