public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: merlyn@stonehenge•com (Randal L. Schwartz)
To: Erik Mouw <erik@harddisk-recovery•com>
Cc: Hendrik Visage <hvjunk@gmail•com>,
	david@dgreaves•com, git@vger•kernel.org
Subject: Re: git vs git
Date: 30 Jan 2006 08:55:36 -0800	[thread overview]
Message-ID: <86acddirjr.fsf@blue.stonehenge.com> (raw)
In-Reply-To: <20060130153715.GE30671@harddisk-recovery.com>

>>>>> "Erik" == Erik Mouw <erik@harddisk-recovery•com> writes:

Erik>   #! /bin/sh
Erik>   # sct: call git
Erik>   gitpath=/path/to/git
Erik>   export PATH=$gitpath:$PATH
Erik>   exec $gitpath/git $*

You must not get a lot of spaces in your pathnames.  I think you want
those last two lines to be:

        export PATH="$gitpath:$PATH"
        exec "$gitpath/git" "$@"

Typical lazy shell programmer. :) :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge•com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

  parent reply	other threads:[~2006-01-30 16:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 15:14 git vs git Hendrik Visage
2006-01-30 15:18 ` David Lang
2006-01-30 15:30 ` Josh Boyer
2006-01-30 15:37 ` Erik Mouw
2006-01-30 16:09   ` Hendrik Visage
2006-01-30 16:26     ` Johannes Schindelin
2006-01-30 16:55   ` Randal L. Schwartz [this message]
2006-01-30 17:23     ` Erik Mouw
2006-01-30 19:22       ` Junio C Hamano
2006-01-30 20:16 ` Martin Langhoff
2006-01-31  5:05   ` Hendrik Visage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86acddirjr.fsf@blue.stonehenge.com \
    --to=merlyn@stonehenge$(echo .)com \
    --cc=david@dgreaves$(echo .)com \
    --cc=erik@harddisk-recovery$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=hvjunk@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox