summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2018-05-12 15:13:48 +0200
committerbartus2018-05-12 15:13:48 +0200
commit8bf016d0b6236e0e9650cf05739361cfacfac2ed (patch)
tree8ba761c2cc8a75c2817826b880927b452e1ead1d
parent7ce14cc4b7f422ad4fc67a26272da1a4e70104d6 (diff)
downloadaur-8bf016d0b6236e0e9650cf05739361cfacfac2ed.tar.gz
fix bin import patch
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5811601101e..3ed89a86ae7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,7 @@ package() {
cp -a ${srcdir}/${_name}/ ${pkgdir}/usr/share/blender/${_blender}/scripts/addons
# change the search path in exporter so it finds pylux in its new location :(previous solution was much better, what happen to blendlux )
#sed -i 's|from.*import pylux|import pylux|' "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender/outputs/pure_api.py"
- for file in `grep -rl import\ pyluxcore ${pkgdir}` ; do sed -i 's/from ..bin import pyluxcore/import pyluxcore/g' $file; done
+ for file in `grep -rl import\ pyluxcore ${pkgdir}` ; do sed -i 's/from .* import pyluxcore/import pyluxcore/g' $file; done
rm -rf ${pkgdir}/usr/share/blender/${_blender}/scripts/addons/${_name}/bin
rm -rf ${pkgdir}/usr/share/blender/${_blender}/scripts/addons/${_name}/.{git,github,gitignore}
}