Skip to content

Commit

Permalink
Merge pull request #157 from boegel/fix_ingest_tarball_init
Browse files Browse the repository at this point in the history
fix ingesting of init tarball
  • Loading branch information
bedroge authored Jun 22, 2023
2 parents e642bcc + 1906a47 commit 3101cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ingest-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ version=$(echo "${tar_file_basename}" | cut -d- -f2)
contents_type_dir=$(echo "${tar_file_basename}" | cut -d- -f3)
tar_first_file=$(tar tf "${tar_file}" | head -n 1)
tar_top_level_dir=$(echo "${tar_first_file}" | cut -d/ -f1)
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)

# Do some checks, and ingest the tarball
check_repo_vars
Expand Down

0 comments on commit 3101cd6

Please sign in to comment.