Skip to content
Snippets Groups Projects
Commit ac7b29eb authored by Marco Z's avatar Marco Z
Browse files

Add __DPL_ACTIVE condition to optional asset download

parent 9b3174c4
No related branches found
No related tags found
No related merge requests found
...@@ -615,7 +615,7 @@ before_script: ...@@ -615,7 +615,7 @@ before_script:
fi; fi;
# Get optional files too # Get optional files too
- if [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then - if [[ "$__DPL_ACTIVE" == "1" ]] && [[ "$ASSET_FILES_OPTIONAL_GET" == "1" ]] && [[ "$ASSET_ARCHIVE_OPTIONAL_PATH" != "" ]]; then
if [ -f "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" ]; then if [ -f "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH)" ]; then
echo "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_OPTIONAL_PATH))"; echo "$(basename $ASSET_ARCHIVE_OPTIONAL_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_OPTIONAL_PATH))";
fi; fi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment