linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] typo in firmware.sh
@ 2006-07-10 13:28 Martin Langer
  2006-07-10 13:38 ` Kay Sievers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Langer @ 2006-07-10 13:28 UTC (permalink / raw)
  To: linux-hotplug

This looks like a missing slash typo in firmware.sh. 

Signed-off-by: Martin Langer <martin-langer@gmx.de>


--- extras/firmware/firmware.sh.ORIGINAL	2006-07-10 15:19:47.000000000 +0200
+++ extras/firmware/firmware.sh	2006-07-10 15:20:21.000000000 +0200
@@ -9,7 +9,7 @@
     fi
 }
 
-if [ ! -e /sys$DEVPATH/loading ]; then
+if [ ! -e /sys/$DEVPATH/loading ]; then
     err "udev firmware loader misses sysfs directory"
     exit 1
 fi



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [PATCH] typo in firmware.sh
  2006-07-10 13:28 [PATCH] typo in firmware.sh Martin Langer
@ 2006-07-10 13:38 ` Kay Sievers
  2006-07-10 13:39 ` Alexander E. Patrakov
  2006-07-10 21:08 ` Michael Buesch
  2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2006-07-10 13:38 UTC (permalink / raw)
  To: linux-hotplug

On Mon, 2006-07-10 at 15:28 +0200, Martin Langer wrote:
> This looks like a missing slash typo in firmware.sh. 
> 
> Signed-off-by: Martin Langer <martin-langer@gmx.de>
> 
> 
> --- extras/firmware/firmware.sh.ORIGINAL	2006-07-10 15:19:47.000000000 +0200
> +++ extras/firmware/firmware.sh	2006-07-10 15:20:21.000000000 +0200
> @@ -9,7 +9,7 @@
>      fi
>  }
>  
> -if [ ! -e /sys$DEVPATH/loading ]; then
> +if [ ! -e /sys/$DEVPATH/loading ]; then
>      err "udev firmware loader misses sysfs directory"
>      exit 1
>  fi

DEVPATH always starts with a slash.

Kay



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [PATCH] typo in firmware.sh
  2006-07-10 13:28 [PATCH] typo in firmware.sh Martin Langer
  2006-07-10 13:38 ` Kay Sievers
@ 2006-07-10 13:39 ` Alexander E. Patrakov
  2006-07-10 21:08 ` Michael Buesch
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander E. Patrakov @ 2006-07-10 13:39 UTC (permalink / raw)
  To: linux-hotplug

Martin Langer wrote:
> This looks like a missing slash typo in firmware.sh.

> -if [ ! -e /sys$DEVPATH/loading ]; then
> +if [ ! -e /sys/$DEVPATH/loading ]; then

$DEVPATH is something that already begins with a slash.

-- 
Alexander E. Patrakov


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [PATCH] typo in firmware.sh
  2006-07-10 13:28 [PATCH] typo in firmware.sh Martin Langer
  2006-07-10 13:38 ` Kay Sievers
  2006-07-10 13:39 ` Alexander E. Patrakov
@ 2006-07-10 21:08 ` Michael Buesch
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Buesch @ 2006-07-10 21:08 UTC (permalink / raw)
  To: linux-hotplug

On Monday 10 July 2006 15:28, Martin Langer wrote:
> This looks like a missing slash typo in firmware.sh. 
> 
> Signed-off-by: Martin Langer <martin-langer@gmx.de>
> 
> 
> --- extras/firmware/firmware.sh.ORIGINAL	2006-07-10 15:19:47.000000000 +0200
> +++ extras/firmware/firmware.sh	2006-07-10 15:20:21.000000000 +0200
> @@ -9,7 +9,7 @@
>      fi
>  }
>  
> -if [ ! -e /sys$DEVPATH/loading ]; then
> +if [ ! -e /sys/$DEVPATH/loading ]; then

Nope, $DEVPATH includes a leading slash.
But for consistency reasons I would say you
could make a patch to remove the slash at the other uses
of $DEVPATH in the file. ;)

-- 
Greetings Michael.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2006-07-10 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-10 13:28 [PATCH] typo in firmware.sh Martin Langer
2006-07-10 13:38 ` Kay Sievers
2006-07-10 13:39 ` Alexander E. Patrakov
2006-07-10 21:08 ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).