Skip to content

Commit

Permalink
demos: make independent of person running the scripts
Browse files Browse the repository at this point in the history
Most importantly, the scripts shouldn't depend on the user's config.
  • Loading branch information
martinvonz committed Sep 8, 2023
1 parent d05aaf3 commit c18e378
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demos/demo_helpers.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/bash
set -euo pipefail

export JJ_CONFIG=""
export JJ_USER="Some One"
export JJ_EMAIL="[email protected]"
export JJ_OP_HOSTNAME="host.example.com"
export JJ_OP_USERNAME="someone"

new_tmp_dir() {
local dirname
dirname=$(mktemp -d)
Expand Down

0 comments on commit c18e378

Please sign in to comment.