All of lore.kernel.org
 help / color / mirror / Atom feed
* [maintainer-tools PATCH] qf: Fix qf_help: Remove attempt to grab DIM_PREFIX.
@ 2017-08-23 17:36 Rodrigo Vivi
  2017-08-24  6:36 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Vivi @ 2017-08-23 17:36 UTC (permalink / raw)
  To: intel-gfx; +Cc: Jani Nikula, Daniel Vetter, Rodrigo Vivi

This is not available here nor will be available on
qfrc. So let's avoid duplication and just grab the qf.rst
file from whatever repository this command is called from.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 qf | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/qf b/qf
index 1f056f90ef70..0373a089ff67 100755
--- a/qf
+++ b/qf
@@ -171,13 +171,10 @@ function quilt_clean_check
 
 function qf_help
 {
-	manpage=$DIM_PREFIX/maintainer-tools/qf.rst
+	manpage=$(dirname $(readlink -f $0))/qf.rst
 	if [ ! -e "$manpage" ]; then
-		manpage=$(dirname $(readlink -f $0))/qf.rst
-		if [ ! -e "$manpage" ]; then
-			echo "Can't find the man page."
-			exit 1
-		fi
+		echo "Can't find the man page."
+		exit 1
 	fi
 
 	if hash rst2man 2>/dev/null; then
-- 
2.13.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [maintainer-tools PATCH] qf: Fix qf_help: Remove attempt to grab DIM_PREFIX.
  2017-08-23 17:36 [maintainer-tools PATCH] qf: Fix qf_help: Remove attempt to grab DIM_PREFIX Rodrigo Vivi
@ 2017-08-24  6:36 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2017-08-24  6:36 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: Jani Nikula, Daniel Vetter, intel-gfx

On Wed, Aug 23, 2017 at 10:36:22AM -0700, Rodrigo Vivi wrote:
> This is not available here nor will be available on
> qfrc. So let's avoid duplication and just grab the qf.rst
> file from whatever repository this command is called from.
> 
> Cc: Jani Nikula <jani.nikula@intel.com>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

Ack.
-Daniel

> ---
>  qf | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/qf b/qf
> index 1f056f90ef70..0373a089ff67 100755
> --- a/qf
> +++ b/qf
> @@ -171,13 +171,10 @@ function quilt_clean_check
>  
>  function qf_help
>  {
> -	manpage=$DIM_PREFIX/maintainer-tools/qf.rst
> +	manpage=$(dirname $(readlink -f $0))/qf.rst
>  	if [ ! -e "$manpage" ]; then
> -		manpage=$(dirname $(readlink -f $0))/qf.rst
> -		if [ ! -e "$manpage" ]; then
> -			echo "Can't find the man page."
> -			exit 1
> -		fi
> +		echo "Can't find the man page."
> +		exit 1
>  	fi
>  
>  	if hash rst2man 2>/dev/null; then
> -- 
> 2.13.2
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-24  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 17:36 [maintainer-tools PATCH] qf: Fix qf_help: Remove attempt to grab DIM_PREFIX Rodrigo Vivi
2017-08-24  6:36 ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.