Re: Question about installing git from source
- From
Alexander Kuleshov <kuleshovmail@gmail.com>
- Date
- Dec 23, 2014, 17:53 UTC
- Message-ID
- <CANCZXo4q-TwH8WyqP1GYcUY-obWG1HAt8gSEs7jy5TJiUDG0HA@mail.gmail.com>
- In-Reply-To
- <xmqq1tnq45yk.fsf@gitster.dls.corp.google.com>
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 updateNewstest - 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 <gitster@pobox.com>:
Show 10 quoted lines
> Alexander Kuleshov <kuleshovmail@gmail.com> 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)? >
-- _________________________ 0xAX