Skip to content

Commit

Permalink
update zip utility
Browse files Browse the repository at this point in the history
  • Loading branch information
benlipkin committed Nov 27, 2024
1 parent 0da271a commit 26b56ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ endif
## setup : decompress templates and finalize setup.
.PHONY : setup
setup : env config.zip
@$(ACTIVATE); conda install conda-forge::zip
@$(ACTIVATE); conda install -y conda-forge::zip
@$(ACTIVATE); conda install -y conda-forge::p7zip
@$(ACTIVATE); unzip -o config.zip -d ./
@echo "Setup complete."

Expand Down
4 changes: 1 addition & 3 deletions scripts/run_make_analyses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
set -ex

cd ../analyses/

conda install -y conda-forge::zip
unzip -P ewok -o data.zip -d scripts/
7z x -p"ewok" -o"scripts/" -y data.zip

cd scripts/
echo "$(pwd)"
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_make_dataset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

cd ../analyses/
unzip -P ewok -o data.zip -d scripts/
7z x -p"ewok" -o"scripts/" -y data.zip

cd ..

Expand Down

0 comments on commit 26b56ee

Please sign in to comment.