Skip to content

Commit

Permalink
scripts: Remove old conda pack before building the new one
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrZierhoffer committed Nov 1, 2019
1 parent 389d195 commit b6022d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ echo ""
echo "Creating a pack"
echo "---------------"

rm -f $BUILD_DIR/$ENV_NAME.tar.gz
conda pack -p $CONDA_DIR/envs/$ENV_NAME -o $BUILD_DIR/$ENV_NAME.tar.gz

# The activate/deactivate conda scripts have to have -e/-u disabled.
Expand Down

0 comments on commit b6022d9

Please sign in to comment.