diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-04 15:36:16 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-04 15:36:16 -0400 |
commit | 6ea52b1f911f85c5504f211c0b30ebdeef3e8669 (patch) | |
tree | 8f7eeede3ce26a9523b9df42d9e064c0fe835932 | |
parent | 82e8f411962242cacce0a17ecaa97d6c64f4c201 (diff) | |
download | sbo-maintainer-tools-6ea52b1f911f85c5504f211c0b30ebdeef3e8669.tar.gz |
Fix multiple package args without absolute path
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | sbopkglint | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -39,3 +39,7 @@ sbolint.1: sbolint sbopkglint.1: sbopkglint ./sbopkglint --man > sbopkglint.1 + +# this requires VERSION in this Makefile to be set to the latest git tag. +release: clean + git archive -o $(PROJ)-$(VERSION).tar.gz --prefix=$(PROJ)-$(VERSION)/ $(VERSION) @@ -449,6 +449,7 @@ for package in $packages; do echo "OK" rm -f $PKG/.tmp.$$ + olddir="$( pwd )" cd "$PKG" totalwarns=0 @@ -473,6 +474,8 @@ for package in $packages; do rm -f .tmp.warncount done + cd "$olddir" + [ "$KEEP" = "" ] && rm -rf "$PKG" if [ "$foundtests" = "0" ]; then |