You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2005/11/24 10:21:11 UTC

svn commit: r348695 - /directory/sandbox/ersiner/checkout-directory-new.sh

Author: ersiner
Date: Thu Nov 24 01:21:00 2005
New Revision: 348695

URL: http://svn.apache.org/viewcvs?rev=348695&view=rev
Log:
New check-out script.


Added:
    directory/sandbox/ersiner/checkout-directory-new.sh
      - copied, changed from r348690, directory/checkout-directory-new.sh

Copied: directory/sandbox/ersiner/checkout-directory-new.sh (from r348690, directory/checkout-directory-new.sh)
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/checkout-directory-new.sh?p2=directory/sandbox/ersiner/checkout-directory-new.sh&p1=directory/checkout-directory-new.sh&r1=348690&r2=348695&rev=348695&view=diff
==============================================================================
--- directory/checkout-directory-new.sh (original)
+++ directory/sandbox/ersiner/checkout-directory-new.sh Thu Nov 24 01:21:00 2005
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 echo "Changing to parent directory..."
 cd ..



Re: svn commit: r348695 - /directory/sandbox/ersiner/checkout-directory-new.sh

Posted by Ersin Er <er...@gmail.com>.
OK, I've done it in a moment when I did not think about its effect
much. However, I've deleted that script while I do not need it
actually. I had written two scripts before mentioning "bash" in, now
I've corrected them too.

Thanks.

On 11/24/05, Emmanuel Lécharny <el...@iktek.com> wrote:
> Hi Ersin,
>
> looking at your last commit, I saw :
>
> > -#!/bin/sh
> > +#!/bin/bash
>
> I don't think that it's a good idea to change the shell from sh to bash.
> I'm not sure that solaris systems provide bash natively, and on linux
> system, sh resolve to bash.
>
> As a general rule, we should always use sh to be sure that the script
> will run on every *ix system !
>
> -- Emmanuel
>
>
>


--
Ersin

Re: svn commit: r348695 - /directory/sandbox/ersiner/checkout-directory-new.sh

Posted by Emmanuel Lécharny <el...@iktek.com>.
Hi Ersin,

looking at your last commit, I saw :

> -#!/bin/sh
> +#!/bin/bash

I don't think that it's a good idea to change the shell from sh to bash.
I'm not sure that solaris systems provide bash natively, and on linux
system, sh resolve to bash.

As a general rule, we should always use sh to be sure that the script
will run on every *ix system !

-- Emmanuel