[vtk6] 01/02: Add script to generate python-vtk6.links.

Anton Gladky gladk at alioth.debian.org
Fri Oct 11 22:08:05 UTC 2013


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository vtk6.

commit 1633e3b2fb8fbd017348d5f20540b1801cd401ed
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Oct 12 00:07:09 2013 +0200

    Add script to generate python-vtk6.links.
---
 debian/generate_links.sh |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/generate_links.sh b/debian/generate_links.sh
new file mode 100755
index 0000000..9d62908
--- /dev/null
+++ b/debian/generate_links.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+deb_host=$1
+deb_hostn=$((${#deb_host}+14))
+deb_hostm=$((${#deb_host}+17))
+
+find tmp/usr/lib/$deb_host/libvtk*Python27D-6.0.so -print0 | while read -d $'\0' file
+do
+  filemod=$(echo "$file" | cut -c$(echo $deb_hostm)- | sed -e 's/27D-6.0//g')
+  filesrc=$(echo "$file" | cut -c$(echo $deb_hostn)- )
+  echo "Generating symlink for $filemod"
+  echo "Generating source-symlink for $filesrc"
+  echo "usr/lib/$deb_host/$filesrc usr/lib/python2.7/dist-packages/vtk/$filemod" >> python-vtk6.links
+done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk6.git



More information about the debian-science-commits mailing list