Skip to content
Snippets Groups Projects
Commit 12d97edc authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

modified: bin/image-load

parent 3e8389be
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ if [ -z "IMAGE_ROOT" ] || [ -z "IMAGE_OS" ] || [ -z "IMAGE_VERSION" ]; then ...@@ -5,7 +5,7 @@ if [ -z "IMAGE_ROOT" ] || [ -z "IMAGE_OS" ] || [ -z "IMAGE_VERSION" ]; then
exit 1 exit 1
fi fi
VERSION=$(\ls -t $IMAGE_ROOT | grep ".sif\|.simg" | head -1) VERSION=$(\ls -t $IMAGE_ROOT | grep ".sif\|.simg\|.img" | head -1)
if [ ! -d "$HOME/.apptainer/images" ]; then if [ ! -d "$HOME/.apptainer/images" ]; then
mkdir -p $HOME/.apptainer/images mkdir -p $HOME/.apptainer/images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment