mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-29 19:03:18 +00:00
11 lines
322 B
Bash
Executable File
11 lines
322 B
Bash
Executable File
#! /bin/bash
|
|
# The ./env file is formatted for docker-compose
|
|
# This script outputs a conversion of that file with
|
|
# 'export' added to each line so it can be set into
|
|
# a Bash environment.
|
|
|
|
TEMPFILE=/tmp/envToEnvironment$$
|
|
sed -e 's/^\([A-Z]\)/export \1/' < ./env > "$TEMPFILE"
|
|
source "$TEMPFILE"
|
|
rm -f "$TEMPFILE"
|