Skip to content

Commit

Permalink
'correct env var choppin'
Browse files Browse the repository at this point in the history
  • Loading branch information
foglabs committed Jun 11, 2024
1 parent 36f8e95 commit 55a7dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/watch_folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ vars=$(echo $all | tr "\0" "\n")
for var in $vars
do
# export em
export $(echo $var)
piece1 = $(echo $var | tr "=", "\n")[0]
piece2 = $(echo $var | tr "=", "\n")[1]
export `${piece1}=${piece2}`
done

# ooh ah so nice
Expand Down

0 comments on commit 55a7dcb

Please sign in to comment.