This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository mbsystem.
commit 6b4006227d3e76348542004cba9609ccd80b064a Author: M. Hamish Bowman <hamis...@yahoo.com> Date: Mon Sep 9 23:48:24 2013 +0000 add GMT binaries to the PATH if needed --- debian/TODO | 3 --- debian/changelog | 2 +- debian/gmt_path-MBSys.sh | 7 +++++++ debian/mbsystem.install | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debian/TODO b/debian/TODO index 3ec0f39..fc9e9bb 100644 --- a/debian/TODO +++ b/debian/TODO @@ -1,8 +1,5 @@ TODO: -* GMT binaries are not in the $PATH by default. Deal with that or - make a large patch adding it to the PATH at the start of each - of the MB scripts and hardcoding the full path into the C code. * Integrate the GMT coastline(s) * Audit & remove bundled libraries (libproj) * Remove GSF code until license statement is made clear diff --git a/debian/changelog b/debian/changelog index 800fb96..2d9edd3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -mbsystem (5.4.2128-0) UNRELEASED; urgency=low +mbsystem (5.4.2149-0) UNRELEASED; urgency=low * Initial packaging incorporating upstream support for shared libs * Split off -dev, -doc, -data packages diff --git a/debian/gmt_path-MBSys.sh b/debian/gmt_path-MBSys.sh new file mode 100644 index 0000000..684c834 --- /dev/null +++ b/debian/gmt_path-MBSys.sh @@ -0,0 +1,7 @@ +# add GMT binaries to the PATH if needed + +GMTBIN="/usr/lib/gmt/bin" + +if [ `echo "$PATH" | grep -c "$GMTBIN"` -eq 0 ] ; then + PATH="$PATH:$GMTBIN" +fi diff --git a/debian/mbsystem.install b/debian/mbsystem.install index 579bdeb..4bab9e7 100644 --- a/debian/mbsystem.install +++ b/debian/mbsystem.install @@ -1,3 +1,4 @@ usr/bin usr/lib/*.so.* usr/share/man +debian/gmt_path-MBSys.sh /etc/profile.d/ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mbsystem.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel