Software /
code /
prosody
File
tools/build-env/here.sh @ 13640:c749a751b4a5
mod_admin_shell: Fix help forgetting arguments
The array:pluck() method mutates the args, replacing the table items
with the resulting strings. On later runs I assume it tries to index the
string, which returns nil, emptying the array.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 02 Feb 2025 13:33:17 +0100 |
parent | 13323:7bfd6db52528 |
line wrap: on
line source
#!/bin/sh -eux tag="testing" if [ "$#" -gt 0 ]; then tag="$1" shift fi containerify="$(command -v podman docker)" $containerify run -it --rm \ -v "$PWD:$PWD" \ -w "$PWD" \ -v "$HOME/.cache:$PWD/.cache" \ --entrypoint /bin/bash \ --userns=keep-id \ --network \ host "prosody.im/build-env:$tag" "$@"