Skip to content

Commit

Permalink
Updating import script to fix bug on mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandaisb committed Jan 15, 2025
1 parent a23fbcd commit 7483a44
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dockerfiles/mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,11 @@ if [[ $1 = "mirror-releases" ]] && [ $# -eq 2 ]; then
echo -e "\n\e[1;34m=== Spack recipes\e[0m"
prj=spack_recipes
download_release_and_untar $prj $2 .
mv $prj-$2/meshing/packages packages
rm -rf packages/machine_types
rm -rf $prj-$2/meshing/packages/machine_types

echo -e "\n\e[1;34m=== Tar recipes and mirrors\e[0m"
tar cvfz meshing_recipes.tar.gz -C packages .
rm -rf packages $prj-$2
tar cvfz meshing_recipes.tar.gz -C $prj-$2/meshing .
rm -rf $prj-$2

# Tar all mirrors
rm -rf meshing_mirror/machine_types
Expand Down

0 comments on commit 7483a44

Please sign in to comment.