Re: Question about installing git from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> Alexander Kuleshov <kuleshovmail@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]