Browse Source

Specify ia config env var.

master
Roelf Wichertjes 2 years ago
parent
commit
60fea2e834
Signed by: rewby GPG Key ID: 4C2B6D2972EE5423
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      upload-single.sh

+ 2
- 0
upload-single.sh View File

@@ -1,6 +1,8 @@
#!/bin/bash
set -euo pipefail

export IA_CONFIG_FILE="${IA_CONFIG_FILE:-/ia.ini}"

if [[ ! -d "$1" ]] ; then
echo "Target directory $1 does not exist!"
exit


Loading…
Cancel
Save