Re: [PATCH v7 3/7] git-remote-mediawiki: New git bin-wrapper for developement
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 2, 2013, 23:04 UTC
- Message-ID
- <7vfvvwimxg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1372804789-12732-4-git-send-email-benoit.person@ensimag.fr>
benoit.person@ensimag.fr writes:
> +GIT_ROOT_DIR=../../..
> +GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
> +
> +GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$GITPERLLIB"The same comment on ':' applies here.
> +PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
But not to this, as PATH is unlikely to be empty ;-)
> +
> +export GITPERLLIB PATH
> +
> +exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"