eBPF-based security platform
upatches/java-base64: build the package into the caller's directory
John Fastabend438ff10e3c22
diff --git a/upatches/java-base64/README.md b/upatches/java-base64/README.mdindex ece7af2a..817959b4 100644--- a/upatches/java-base64/README.md+++ b/upatches/java-base64/README.md@@ -38,7 +38,8 @@ with `javac` and `jar` on `PATH`:upatches/java-base64/build.sh 0.1.0 --keys-dir <keys>```-It writes `java-base64-0.1.0.bee`. A short version keeps the package's+It writes `java-base64-0.1.0.bee` into the current directory, where a+relative `--keys-dir` is looked up too. A short version keeps the package'smember paths within the 99 bytes a `.bee` archive allows.## Publish and view in xtopdiff --git a/upatches/java-base64/build.sh b/upatches/java-base64/build.shindex 4ffcbf4e..4ee271f3 100755--- a/upatches/java-base64/build.sh+++ b/upatches/java-base64/build.sh@@ -21,6 +21,7 @@ if [ "$jar_only" -eq 0 ]; thenshiftfipkg=$(cd "$(dirname "$0")" && pwd)+start=$PWDcd "$pkg"rm -rf target@@ -41,4 +42,5 @@ MFjar cfm java-base64.jar target/MANIFEST.MF -C target/stage .[ "$jar_only" -eq 0 ] || exit 0+cd "$start"exec shirudo bpm build "$pkg" --version "$version" "$@"