Leopold Schabel | dca59d9 | 2021-04-01 19:02:53 +0200 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Leopold Schabel | 2983d72 | 2019-10-23 12:16:42 +0200 | [diff] [blame] | 2 | set -euo pipefail |
3 | |||||
Leopold Schabel | 3cb0f4b | 2021-07-19 15:22:07 +0200 | [diff] [blame^] | 4 | if [[ "$(podman inspect monogon-dev --format "{{ (index .Mounts 0).Source }}")" != "$(pwd)" ]]; then |
5 | echo "Please run this wrapper from the original checkout" | ||||
6 | exit 1 | ||||
7 | fi | ||||
8 | |||||
Serge Bazanski | febf0b0 | 2021-01-07 16:34:28 +0100 | [diff] [blame] | 9 | podman exec -it monogon-dev $@ |