Re: Question about installing git from source
Yeah, was wrong install script.
thank you.
2014-12-23 23:53 GMT+06:00 Alexander Kuleshov <kuleshovmail@gmail.com>:
Show 40 quoted lines
> 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 <gitster@pobox.com>:
>> 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
--
_________________________
0xAX