Skip to content
Snippets Groups Projects
Commit f841f7fd authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

sh->bash

parent 90baae87
No related branches found
No related tags found
1 merge request!16MPI operators
Pipeline #42010 passed
......@@ -11,7 +11,7 @@ env:bionic:
image: keckj/hysop:bionic
stage: env
script:
- "sh ci/scripts/version.sh"
- "bash ci/scripts/version.sh"
config:bionic:
image: keckj/hysop:bionic
......
......@@ -42,6 +42,7 @@ else
fi
if [ "${HAS_CACHE_DIR}" = true ]; then
mkdir -p "${HYSOP_CACHE_DIR}"
if [ -d "${CACHE_DIR}" ]; then
echo "Cache directory '$CACHE_DIR' was found."
rsync -rtvu "${CACHE_DIR}/" "${HYSOP_CACHE_DIR}/"
......@@ -62,7 +63,6 @@ if [ "${HAS_CACHE_DIR}" = true ]; then
echo "No backup cache directory has been specified."
fi
fi
mkdir -p "${HYSOP_CACHE_DIR}"
mkdir -p "${CACHE_DIR}"
fi
......
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