Skip to content

Commit

Permalink
fix(sztp): fix wrong foler
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Jun 6, 2024
1 parent 2028667 commit 519485b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sztp/generate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/bash

set -euxo pipefail
set -euo pipefail

MYTMPDIR="$(mktemp -d)"
trap 'rm -rf -- "$MYTMPDIR"' EXIT
Expand Down Expand Up @@ -46,7 +46,7 @@ do
for item in pre post
do
names+=("${vendor^^}_PRE_SCRIPT_B64" "${vendor^^}_POST_SCRIPT_B64")
export ${vendor^^}_${item^^}_SCRIPT_B64=$(openssl enc -base64 -A -in ${vendor,,}-${item,,}-configuration-script.sh)
export ${vendor^^}_${item^^}_SCRIPT_B64=$(openssl enc -base64 -A -in ./config/${vendor,,}-${item,,}-configuration-script.sh)
done
done

Expand Down

0 comments on commit 519485b

Please sign in to comment.