Skip to content

Commit

Permalink
main.sh: export required env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rleidner committed Apr 28, 2024
1 parent 4556055 commit 5122938
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/soc_i3/main.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
OPENWBBASEDIR=$(cd "$(dirname "$0")/../../" && pwd)
RAMDISKDIR="$OPENWBBASEDIR/ramdisk"
MODULEDIR=$(cd "$(dirname "$0")" && pwd)
export OPENWBBASEDIR=$(cd "$(dirname "$0")/../../" && pwd)
export RAMDISKDIR="$OPENWBBASEDIR/ramdisk"
export MODULEDIR=$(cd "$(dirname "$0")" && pwd)
LOGFILE="$RAMDISKDIR/soc.log"
DMOD="EVSOC"
CHARGEPOINT=$1
export CHARGEPOINT=$1

# check if config file is already in env
if [[ -z "$debug" ]]; then
Expand Down

0 comments on commit 5122938

Please sign in to comment.