Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Dec 28, 2024
1 parent a110fc3 commit aad534f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backup_all_modules_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,8 @@ 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 aad534f

Please sign in to comment.