Skip to content

Commit

Permalink
fix: (Try to) fix bobby chunk files not being included (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofbolyai authored Aug 8, 2024
1 parent 7d19e3e commit b695156
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zip.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/bin/bash
# This script is used to zip the contents of the folders of each folder in the configs folder

# Get the configs folder
Expand All @@ -13,10 +13,10 @@ for config in $CONFIGS; do
# if zip file does not exist
if [ ! -f "output/$FOLDER_NAME.zip" ]; then
# Change directory to the folder
cd "$config"
cd "$config" || exit

# Zip the contents of the folder
zip -r "../../output/$FOLDER_NAME.zip" * -x .DS_Store
zip -r "../../output/$FOLDER_NAME.zip" -- * -x .DS_Store

# Change directory back to the root
cd ../..
Expand Down

0 comments on commit b695156

Please sign in to comment.