commit:     8a9bc2f24338239647adcf4a24d9a550abd9c812
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 19 09:23:24 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 09:23:24 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8a9bc2f2

dev-util/nvidia-cuda-gdk: Fix wrapper /opt/bin/nvidia-healthmon

---
 dev-util/nvidia-cuda-gdk/ChangeLog              | 6 +++++-
 dev-util/nvidia-cuda-gdk/files/nvidia-healthmon | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog 
b/dev-util/nvidia-cuda-gdk/ChangeLog
index 169f0dc..be83b87 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for dev-util/nvidia-cuda-gdk
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  19 Jan 2015; Marius Brehler <[email protected]>
+  nvidia-cuda-gdk-340.29.ebuild:
+  Fix /opt/bin/nvidia-healthmon
+
   01 Dec 2014; Justin Lecher <[email protected]> nvidia-cuda-gdk-340.29.ebuild:
   Drop empty lines, clean variable names and quoting
 

diff --git a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon 
b/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
index 007c9dc..caf1b00 100644
--- a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
+++ b/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-while getopts "c" opt
+while getopts ":c" opt
 do
        case $opt in
                c) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon "$@";;
-               *) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon -c 
/etc/nvidia-healtmon/nvidia-healtmon.conf "$@";;
+               *) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon -c 
/etc/nvidia-healthmon/nvidia-healthmon.conf "$@";;
        esac
 done
\ No newline at end of file

Reply via email to