Re: Question about installing git from source

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Question about installing git from source

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:21

Alexander Kuleshov [off-list ref] writes:
install -d -m 755 '/usr/bin'
Copying scripts to /usr/bin
As 'git grep "Copying scripts"' gives us nothing, the message is
obviously not what we are giving.  Perhaps you have a strange "install"
in your path that does not understand "-d" is a way to tell it to
make sure a directory exists (by creating one as necessary)?

Re: Question about installing git from source

From: Alexander Kuleshov <hidden>
Date: 2016-06-15 23:03:21

I looked at Makefile, and seems that it occurs from here:
https://github.com/git/git/blob/master/Makefile#L2205

It tries to copy all files/folders from git root directory but
'install' command prints this error. I tried to execute 'sudo install
-d -m 755' in other directory and if there is directory too it prints
the same error. For example:

~/scripts $ ls
addPPA    cleanMailTrash  git-autor    git-ranges       git-tp
            install     scripts    ssh-live       term-help  tp-git
    updateMail  xray-start
buildGit  deployWork      git-install  git-remove-tags
git-update-commit-message  install.sh  ssh-build  ssh-wiwob-lab  test
     updateGitDev  updateNews

test - is directory here

~/scripts $ sudo install -d -m 755 .
Copying scripts to /usr/bin
cp: omitting directory ‘test’
Done

2014-12-23 23:43 GMT+06:00 Junio C Hamano [off-list ref]:
Alexander Kuleshov [off-list ref] writes:
quoted
install -d -m 755 '/usr/bin'
Copying scripts to /usr/bin
As 'git grep "Copying scripts"' gives us nothing, the message is
obviously not what we are giving.  Perhaps you have a strange "install"
in your path that does not understand "-d" is a way to tell it to
make sure a directory exists (by creating one as necessary)?


-- 
_________________________
0xAX

Re: Question about installing git from source

From: Alexander Kuleshov <hidden>
Date: 2016-06-15 23:03:21

Yeah, was wrong install script.

thank you.

2014-12-23 23:53 GMT+06:00 Alexander Kuleshov [off-list ref]:
I looked at Makefile, and seems that it occurs from here:
https://github.com/git/git/blob/master/Makefile#L2205

It tries to copy all files/folders from git root directory but
'install' command prints this error. I tried to execute 'sudo install
-d -m 755' in other directory and if there is directory too it prints
the same error. For example:

~/scripts $ ls
addPPA    cleanMailTrash  git-autor    git-ranges       git-tp
            install     scripts    ssh-live       term-help  tp-git
    updateMail  xray-start
buildGit  deployWork      git-install  git-remove-tags
git-update-commit-message  install.sh  ssh-build  ssh-wiwob-lab  test
     updateGitDev  updateNews

test - is directory here

~/scripts $ sudo install -d -m 755 .
Copying scripts to /usr/bin
cp: omitting directory ‘test’
Done

2014-12-23 23:43 GMT+06:00 Junio C Hamano [off-list ref]:
quoted
Alexander Kuleshov [off-list ref] writes:
quoted
install -d -m 755 '/usr/bin'
Copying scripts to /usr/bin
As 'git grep "Copying scripts"' gives us nothing, the message is
obviously not what we are giving.  Perhaps you have a strange "install"
in your path that does not understand "-d" is a way to tell it to
make sure a directory exists (by creating one as necessary)?


--
_________________________
0xAX


-- 
_________________________
0xAX
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help