We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e642bcc + 1906a47 commit 3101cd6Copy full SHA for 3101cd6
scripts/ingest-tarball.sh
@@ -222,7 +222,7 @@ version=$(echo "${tar_file_basename}" | cut -d- -f2)
222
contents_type_dir=$(echo "${tar_file_basename}" | cut -d- -f3)
223
tar_first_file=$(tar tf "${tar_file}" | head -n 1)
224
tar_top_level_dir=$(echo "${tar_first_file}" | cut -d/ -f1)
225
-tar_contents_type_dir=$(echo "${tar_first_file}" | head -n 2 | tail -n 1 | cut -d/ -f2)
+tar_contents_type_dir=$(tar tf "${tar_file}" | head -n 2 | tail -n 1 | cut -d/ -f2)
226
227
# Do some checks, and ingest the tarball
228
check_repo_vars
0 commit comments