On Tue, 2008-09-02 at 13:36 +0200, Daniel Gollub wrote:
> On Tuesday 02 September 2008 11:52:13 Subrata Modak wrote:
> > > Set executable flag for netpipe.sh without chmod.sh which just performs
> > > an santiy check if the user is root to run chmod 755, which doesn't
> > > require root priviliges.
> >
> > This is a problem with CVS. Once you initially add some script without
> > execute permission, that´s it, the whole life this will trouble you. And
> > then there is not where you can solve the problem other than in
> > Makefile(s).
> 
> Oh i see - was not sure if ltp is using CVS or SVN on sourceforge. I'm just
> using some git mirror of ltp. But i didn't know that CVS doesn't handle file
> properties, thanks for the info!
> 
> >
> > > Signed-off-by: Daniel Gollub <[EMAIL PROTECTED]>
> >
> > Thanks. Merged.
> 
> Ooops - there is a very trivial error in my patch.
> (By accident sent the wrong copy of patch - i'm terrible sorry about this!)
> 
> Replace /bin/sh chmod by /bin/chmod to avoid error about sh not finding
> file called "chmod".
> 
> Signed-off-by: Daniel Golub <[EMAIL PROTECTED]>
> 
Applied.
> ---
> 
> diff --git a/tools/netpipe-2.4/Makefile b/tools/netpipe-2.4/Makefile
> index 8a8df37..8184449 100644
> --- a/tools/netpipe-2.4/Makefile
> +++ b/tools/netpipe-2.4/Makefile
> @@ -27,7 +27,7 @@ EXTRA_LIBS = $(LDFLAGS)
>  all: $(TARGETS)
>  
>  install:
> -     @/bin/sh chmod 755 netpipe.sh
> +     @/bin/chmod 755 netpipe.sh
>       @ln -f $(TARGETS) netpipe.sh ../../testcases/bin/
>  #
>  # This section of the Makefile is for compiling the binaries
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to