Updating the update script
Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
parent
4d9fbaacfc
commit
11fe7bb784
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
SOURCE = https://raw.githubusercontent.com/fedora-modularity/baseruntime-package-lists/master/data/Fedora/devel/hp
|
||||
MODULE = $(shell pwd | sed 's/^.*\///')
|
||||
BRANCH = $(shell git rev-parse --abbrev-ref HEAD | sed -e 's/^/./' -e 's/^\.master$$//')
|
||||
|
||||
update:
|
||||
curl $(SOURCE)/$(MODULE).yaml -o $(MODULE).yaml
|
||||
curl $(SOURCE)/$(MODULE)$(BRANCH).yaml -o $(MODULE).yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue