Skip to content

Commit

Permalink
Clean up bash and vars in bin/build
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed May 9, 2019
1 parent 6d63184 commit 97e95ec
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 @@ -21,10 +21,10 @@ echo "cache = true" > ${layers_dir}/shim.toml
profile_dir="${layers_dir}/profile"
mkdir -p "${profile_dir}/profile.d"
cp .profile.d/* "${profile_dir}/profile.d/"
echo "launch = true" > ${layers_dir}/profile.toml
echo "launch = true" > "${profile_dir}.toml"

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

0 comments on commit 97e95ec

Please sign in to comment.