← Back to team overview

kicad-developers team mailing list archive

Remove shebang from footprint wizard plugin to fix fedora rawhide build issues

 

Hello

It seems that we have a footprint wizard plugin which specifies a
shebang when we don't really want or need this. I have attached a
patch to bring the touch slider one in line with the others.

For reference, see https://github.com/KiCad/fedora-packaging/pull/20

Regards
Nick Østergaard
From a9d26eb51c39dd977af49c2bd7dee90afb214579 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nick=20=C3=98stergaard?= <oe.nick@xxxxxxxxx>
Date: Sat, 3 Nov 2018 21:28:06 +0100
Subject: [PATCH] Remove shebang from footprint wizard plugin

Fedora packaging errors with ambiguous python shebang since current
rawhide (30).

So we should remove it as the footprint wizards are not to be executed
standalone.
---
 pcbnew/python/plugins/touch_slider_wizard.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pcbnew/python/plugins/touch_slider_wizard.py b/pcbnew/python/plugins/touch_slider_wizard.py
index e0086e427..ee24c22b9 100644
--- a/pcbnew/python/plugins/touch_slider_wizard.py
+++ b/pcbnew/python/plugins/touch_slider_wizard.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 #
 # This program source code file is part of KiCad, a free EDA CAD application.
 #
-- 
2.19.1


Follow ups