Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Aurora-Nasa-1/ARMIAS
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Dec 28, 2024
2 parents c01d820 + 76039d8 commit a110fc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backup_all_modules_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ for DIR in "$TARGET_DIR"*/; do
echo "Processing directory: $DIR_NAME"

OUTPUT_FILE="$OUTPUT_DIR/${DIR_NAME}.zip"
<<<<<<< HEAD
$zips a -r "$OUTPUT_FILE" "$DIR/"
return_code=$?
=======
$zips a "$OUTPUT_FILE" "$DIR/*"
return_code=$?
>>>>>>> 76039d84d103e5e64b5601b30ed00165e4c95ddf
if [ "$return_code" -eq 0 ]; then
echo "Successfully created archive: $OUTPUT_FILE"
else
Expand Down

0 comments on commit a110fc3

Please sign in to comment.