summaryrefslogtreecommitdiff
path: root/sample.initd
diff options
context:
space:
mode:
authorOliver Smith <ollieparanoid@bitmessage.ch>2018-02-07 20:06:56 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-20 15:09:58 +0100
commit4501a6cc5eb5542c5172ae391ae54377b440e1bf (patch)
tree79b630c36230498628766fa227c1f8f7eb95cd61 /sample.initd
parent6981f3a6ae1cab387dd4273e3483a07d932d827f (diff)
downloadabuild-4501a6cc5eb5542c5172ae391ae54377b440e1bf.tar.gz
abuild-4501a6cc5eb5542c5172ae391ae54377b440e1bf.tar.bz2
abuild-4501a6cc5eb5542c5172ae391ae54377b440e1bf.tar.xz
abuild-4501a6cc5eb5542c5172ae391ae54377b440e1bf.zip
Don't print 'git: not found' errors
abuild, as packaged in Alpine Linux, does not depend on git. But when you use it without git, it will print out errors like the following: /usr/bin/abuild: line 2554: git: not found With this commit, it saves the git_path in the beginning (just like abuild_path). Later in the code it does not try to run git if that variable is empty. Notably `abuild rootbld` is already checking whether `abuild-rootbld` is installed, and that subpackage of `abuild` does already depend on `git`. So no additional check was added before using `git ` inside `rootbld`. Fixes #32
Diffstat (limited to 'sample.initd')
0 files changed, 0 insertions, 0 deletions