Skip to content

Commit aab6458

Browse files
authored
Fix a typo in Dockerfile (#150)
1 parent b37cc6f commit aab6458

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ if [ -n "\$PROJECT_DIR" ]; then
5151
COMMIT_HASH=\$(git rev-parse HEAD)
5252
echo "Attempting to download HLS cache from GitHub Artifact (cache-\$COMMIT_HASH-$COMPILER_NIX_NAME) for faster first launch ..."
5353
gh run download -D .download -n "cache-\$COMMIT_HASH-$COMPILER_NIX_NAME"
54-
rsync -a .download/work/cardano-base/cardano-base/dist-newstyle .
55-
rm -r .download
54+
if [ -n .download ]; then
55+
rsync -a .download/dist-newstyle .
56+
rm -r .download
57+
fi
5658
else
5759
echo "\\\$GITHUB_TOKEN is not set. Skipping HLS cache download."
5860
fi

0 commit comments

Comments
 (0)