diff options
| author | Oskar <oskar@mullvad.net> | 2025-02-05 08:51:47 +0100 |
|---|---|---|
| committer | Oskar <oskar@mullvad.net> | 2025-02-05 15:55:09 +0100 |
| commit | 237c6f18e82ec75f05e9bf4cc2c71fef5be780bf (patch) | |
| tree | 026c15feb6bf471234693685511d235ab582d577 /scripts/utils/print-and-run | |
| parent | e199a78430bfdb9074e5c0fd16782db7fe4167d3 (diff) | |
| download | mullvadvpn-237c6f18e82ec75f05e9bf4cc2c71fef5be780bf.tar.xz mullvadvpn-237c6f18e82ec75f05e9bf4cc2c71fef5be780bf.zip | |
Add comments describing what each of the release scripts do
Diffstat (limited to 'scripts/utils/print-and-run')
| -rwxr-xr-x | scripts/utils/print-and-run | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/utils/print-and-run b/scripts/utils/print-and-run index ab5443ed2e..b323040f3c 100755 --- a/scripts/utils/print-and-run +++ b/scripts/utils/print-and-run @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# This is a small utility script that can be sourced to provide a function that prints its arguments +# and then calls them as a command, e.g. `print_and_run sleep 5`. + function print_and_run { echo "+ $*" "$@" |
