added wrapper
This commit is contained in:
parent
146f6c25e5
commit
cfa81e5f30
3
Makefile
3
Makefile
|
@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib
|
|||
CNFDIR ?= /etc
|
||||
ARCHBUILDER_LIB_DIR ?= $(LIBDIR)/$(PROGNM)
|
||||
ARCHBUILDER_CONF_DIR ?= $(CNFDIR)/$(PROGNM)
|
||||
ARCHBUILDER_VERSION ?= 0.9.1
|
||||
ARCHBUILDER_VERSION ?= 0.9.2
|
||||
|
||||
.PHONY: install build archbuilder
|
||||
|
||||
|
@ -19,6 +19,7 @@ archbuilder: archbuilder.in
|
|||
|
||||
install-archbuilder: archbuilder
|
||||
@install -Dm755 archbuilder -t '$(DESTDIR)$(BINDIR)'
|
||||
@install -Dm755 archbuilderwrap -t '$(DESTDIR)$(BINDIR)'
|
||||
|
||||
install: install-archbuilder
|
||||
@install -Dm644 lib/archbuilder.inc.sh -t '$(DESTDIR)$(LIBDIR)/$(PROGNM)'
|
||||
|
|
|
@ -12,6 +12,8 @@ readonly conf_dir='ARCHBUILDER_CONF_DIR'
|
|||
. "${lib_dir}/archbuilder.inc.sh"
|
||||
. "${lib_dir}/buildah.inc.sh"
|
||||
|
||||
test_file "${HOME}/.archbuilder/archbuilder.env" \
|
||||
&& . "${HOME}/.archbuilder/archbuilder.env"
|
||||
|
||||
# internal params
|
||||
unset _FLAG_KEEP
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
archbuilder ${ARCHBUILDER_FLAGS} -- $*
|
Loading…
Reference in New Issue