public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* Broken-up patch #6
@ 2004-05-28 23:04 Tommy McCabe
  2004-05-29  0:32 ` David Given
  2004-05-31 19:59 ` Miguel Bolanos
  0 siblings, 2 replies; 4+ messages in thread
From: Tommy McCabe @ 2004-05-28 23:04 UTC (permalink / raw)
  To: linux-8086

This patch makes sure there is an sbin directory to
copy files into.

diff -ruN ./elks-stuff/elkscmd/disk_utils/Makefile
./elks/elkscmd/disk_utils/Makefile
--- ./elks-stuff/elkscmd/disk_utils/Makefile
2004-05-28 16:02:01.000000000 -0400
+++ ./elks/elkscmd/disk_utils/Makefile	2004-04-20
21:22:58.000000000 -0400
@@ -39,6 +39,7 @@
 SPROGS=mkfs
 
 all:		$(PROGS)
+	mkdir $(TARGET_MNT)/sbin
 
 rfs:		install
 


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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

* Re: Broken-up patch #6
  2004-05-28 23:04 Broken-up patch #6 Tommy McCabe
@ 2004-05-29  0:32 ` David Given
  2004-05-31 20:00   ` Miguel Bolanos
  2004-05-31 19:59 ` Miguel Bolanos
  1 sibling, 1 reply; 4+ messages in thread
From: David Given @ 2004-05-29  0:32 UTC (permalink / raw)
  To: linux-8086

Tommy McCabe wrote:
[...]
>  all:		$(PROGS)
> +	mkdir $(TARGET_MNT)/sbin

If sbin already exists, this will fail. You want either '-mkdir' (ignore 
result) or 'mkdir -p' (create path if it doesn't already exist).

This has confused me many times in the past...

-- 
[insert interesting .sig here]


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

* Re: Broken-up patch #6
  2004-05-28 23:04 Broken-up patch #6 Tommy McCabe
  2004-05-29  0:32 ` David Given
@ 2004-05-31 19:59 ` Miguel Bolanos
  1 sibling, 0 replies; 4+ messages in thread
From: Miguel Bolanos @ 2004-05-31 19:59 UTC (permalink / raw)
  To: Tommy McCabe; +Cc: linux-8086

added -p to mkdir and applied. thanks.

Mike

On Fri, 2004-05-28 at 17:04, Tommy McCabe wrote:
> This patch makes sure there is an sbin directory to
> copy files into.
> 
> diff -ruN ./elks-stuff/elkscmd/disk_utils/Makefile
> ./elks/elkscmd/disk_utils/Makefile
> --- ./elks-stuff/elkscmd/disk_utils/Makefile
> 2004-05-28 16:02:01.000000000 -0400
> +++ ./elks/elkscmd/disk_utils/Makefile	2004-04-20
> 21:22:58.000000000 -0400
> @@ -39,6 +39,7 @@
>  SPROGS=mkfs
>  
>  all:		$(PROGS)
> +	mkdir $(TARGET_MNT)/sbin
>  
>  rfs:		install
>  
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


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

* Re: Broken-up patch #6
  2004-05-29  0:32 ` David Given
@ 2004-05-31 20:00   ` Miguel Bolanos
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Bolanos @ 2004-05-31 20:00 UTC (permalink / raw)
  To: David Given; +Cc: linux-8086

Greetings,

On Fri, 2004-05-28 at 18:32, David Given wrote:
> Tommy McCabe wrote:
> [...]
> >  all:		$(PROGS)
> > +	mkdir $(TARGET_MNT)/sbin
> 
> If sbin already exists, this will fail. You want either '-mkdir' (ignore 
> result) or 'mkdir -p' (create path if it doesn't already exist).
> 

Fixed before applying, thanks for pointing this out.

best wishes

Mike


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

end of thread, other threads:[~2004-05-31 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 23:04 Broken-up patch #6 Tommy McCabe
2004-05-29  0:32 ` David Given
2004-05-31 20:00   ` Miguel Bolanos
2004-05-31 19:59 ` Miguel Bolanos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox