Skip to content

Commit

Permalink
Adding explicit folder to tar
Browse files Browse the repository at this point in the history
  • Loading branch information
neelimamukiri committed Mar 31, 2017
1 parent 2d006e7 commit de25e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ binary_cache=$output_dir/contiv_cache
mkdir -p $binary_cache

# Create the minimal tar bundle
tar czf $tmp_output_file -C $release_dir .
tar czf $tmp_output_file -C $release_dir contiv-$VERSION

# Save the auth proxy & aci-gw images for packaging the full docker images with contiv install binaries
if [ "$(docker images -q contiv/auth_proxy:$auth_proxy_version 2>/dev/null)" == "" ]; then
Expand All @@ -134,7 +134,7 @@ sed -i.bak "s#.*auth_proxy_local_install.*# \"auth_proxy_local_install\": True,
sed -i.bak "s#.*contiv_network_local_install.*# \"contiv_network_local_install\": True#g" $env_file

# Create the full tar bundle
tar czf $tmp_full_output_file -C $release_dir .
tar czf $tmp_full_output_file -C $release_dir contiv-$VERSION

mv $tmp_output_file $output_file
mv $tmp_full_output_file $full_output_file
Expand Down

0 comments on commit de25e2f

Please sign in to comment.