Skip to content

Commit

Permalink
Remove profile.d dir prefix from exporting envs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed May 9, 2019
1 parent 5ab805c commit 6d63184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ cp .profile.d/* "${profile_dir}/profile.d/"
echo "launch = true" > ${layers_dir}/profile.toml

if [ -f "${target_dir}/export" ]; then
echo "build = true" >> ${layers_dir}/profile.toml
mkdir -p "${profile_dir}/profile.d/env.build/"
"${bp_dir}/bin/exports" "${target_dir}/export" "${platform_dir}" "${profile_dir}/profile.d/env.build/"
echo "build = true" >> ${layers_dir}/profile.toml
mkdir -p "${profile_dir}/env.build/"
"${bp_dir}/bin/exports" "${target_dir}/export" "${platform_dir}" "${profile_dir}/env.build/"
fi

# run bin/release, read Procfile, and generate launch.toml
Expand Down

0 comments on commit 6d63184

Please sign in to comment.