Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Nov 27, 2021
1 parent 508670c commit ea77c9b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ elif [ -d "${PACKAGE_PATH}" ] && [ ! -z "${INPUT_PACKAGE_PATH}" ]; then
else
printf "package_custom_path: ${INPUT_PACKAGE_PATH}\n"
printf "package_path: ${PACKAGE_PATH}\n"
printf "You must either provide a package name (package) OR a custom package path (package_path)\n"
printf "You must either provide a package name (package) OR a custom package path (package_path) that exists\n"
exit 1
fi

Expand All @@ -95,8 +95,6 @@ month=$(date '+%y.%m')
build_cache=/opt/${month}
mkdir -p $build_cache

# Add the key

# Add the key, stored with buildcache action (we need to do both these things?)
root=$(dirname ${ACTION_ROOT})
spack gpg trust ${root}/buildcache/4A424030614ADE118389C2FD27BDB3E5F0331921.pub
Expand All @@ -117,7 +115,7 @@ echo "::set-output name=build_cache_prefix::${build_cache_prefix}"
for spec_json in $(find ${build_cache} -name *.json); do
printf "${spec_json}\n"
cat ${spec_json}
if [[ "${specs}" == "" ]]; then
if [[ "${spec_jsons}" == "" ]]; then
spec_jsons=${spec_json}
else
spec_jsons="${spec_jsons},${spec_json}"
Expand Down

0 comments on commit ea77c9b

Please sign in to comment.