On Thu, 23 Apr 2020, Trevor Hemsley via CentOS-devel wrote:
It would probably help if you read the wiki article on how to do this.
That page has problems, and does not work as written. There is problem doing the lookaside, or such
The script seems also to already be +x, so the admonition to set is +x is not needed
[herrold@centos-8 ~]$ find centos-git-common -name get_sources.sh -a -exec ls -al {} ; -rwxrwxr-x. 1 herrold herrold 6456 Apr 23 12:06 centos-git-common/centos-git-common/get_sources.sh [herrold@centos-8 ~]$
-- Russ herrold
worked example of the defect as to samba : ==========================================
[herrold@centos-8 ~]$ mkdir centos-git-common [herrold@centos-8 ~]$ cd centos-git-common [herrold@centos-8 centos-git-common]$ git clone https://git.centos.org/centos-git-common.git Cloning into 'centos-git-common'... remote: Counting objects: 217, done. remote: Compressing objects: 100% (213/213), done. remote: Total 217 (delta 0), reused 217 (delta 0) Receiving objects: 100% (217/217), 131.34 KiB | 1.06 MiB/s, done. [herrold@centos-8 centos-git-common]$ find . -name get_sources.sh ./centos-git-common/get_sources.sh [herrold@centos-8 centos-git-common]$ ln -s ./centos-git-common/get_sources.sh ~/bin/ [herrold@centos-8 centos-git-common]$ git clone https://git.centos.org/rpms/samba.git Cloning into 'samba'... remote: Counting objects: 660, done. remote: Compressing objects: 100% (578/578), done. remote: Total 660 (delta 71), reused 611 (delta 39) Receiving objects: 100% (660/660), 1.48 MiB | 1.57 MiB/s, done. Resolving deltas: 100% (71/71), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
[herrold@centos-8 centos-git-common]$ ls -al samba total 24 drwxrwxr-x. 3 herrold herrold 4096 Apr 23 12:07 . drwxrwxr-x. 4 herrold herrold 4096 Apr 23 12:07 .. drwxrwxr-x. 7 herrold herrold 4096 Apr 23 12:07 .git [herrold@centos-8 centos-git-common]$