3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git/pwd.patch
Ludovic Courtès 2d5d545818 Git: Fix more impurities.
svn path=/nixpkgs/trunk/; revision=11373
2008-03-30 22:19:20 +00:00

23 lines
638 B
Diff

--- git-1.5.4.4/git-clone.sh 2008-03-09 11:18:13.000000000 +0100
+++ git-1.5.4.4/git-clone.sh 2008-03-30 23:43:35.000000000 +0200
@@ -40,7 +40,7 @@ eval "$(echo "$OPTIONS_SPEC" | git rev-p
get_repo_base() {
(
- cd "`/bin/pwd`" &&
+ cd "`pwd`" &&
cd "$1" || cd "$1.git" &&
{
cd .git
--- git-1.5.4.4/git-submodule.sh 2008-03-09 11:18:13.000000000 +0100
+++ git-1.5.4.4/git-submodule.sh 2008-03-31 00:01:03.000000000 +0200
@@ -28,7 +28,7 @@ say()
# NEEDSWORK: identical function exists in get_repo_base in clone.sh
get_repo_base() {
(
- cd "`/bin/pwd`" &&
+ cd "`pwd`" &&
cd "$1" || cd "$1.git" &&
{
cd .git