diff options
Diffstat (limited to 'source/d/git/git.SlackBuild')
-rwxr-xr-x | source/d/git/git.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild index 945280e8..2bfa0d7b 100755 --- a/source/d/git/git.SlackBuild +++ b/source/d/git/git.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=git VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -95,6 +95,10 @@ cp -a \ ( cd $PKG/usr/doc/git-$VERSION/Documentation ; rm *.1 *.3 *.7 ) ( cd $PKG/usr/doc/git-$VERSION && find . -name ".git*" -exec rm -r "{}" \+ ) +mkdir -p $PKG/usr/share/bash-completion/completions +ln -s /usr/doc/git-$VERSION/contrib/completion/git-completion.bash \ + $PKG/usr/share/bash-completion/completions/git + make $NUMJOBS \ prefix=/usr \ mandir=/usr/man \ |