diff python/py-editorconfig/py-editorconfig.sh @ 612:8580d997f05b

python: fix packages with FHS
author David Demelier <markand@malikania.fr>
date Sat, 20 Jul 2019 15:54:54 +0200
parents 25cecc6dca48
children a133976e0783
line wrap: on
line diff
--- a/python/py-editorconfig/py-editorconfig.sh	Fri Jul 19 18:52:04 2019 +0200
+++ b/python/py-editorconfig/py-editorconfig.sh	Sat Jul 20 15:54:54 2019 +0200
@@ -30,7 +30,7 @@
 	tar xvf EditorConfig-$PKGVERSION.tar.gz
 	cd EditorConfig-$PKGVERSION
 
-	python setup.py install --root=${DESTDIR:-/} -O1
+	python setup.py install --root=$DESTDIR --prefix=/.
 
 	cd ..
 	rm -rf EditorConfig-$PKGVERSION