Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Unbreak install after repo transfers #1523

Merged
merged 2 commits into from Jan 8, 2018
Merged

Unbreak install after repo transfers #1523

merged 2 commits into from Jan 8, 2018

Conversation

oschaaf
Copy link
Member

@oschaaf oschaaf commented Jan 8, 2018

The directory name in the zip we download from github's release
archive will be different now that the project was renamed.
It may be renamed again in the future, so try to obtain the directory
name from the zip.

Fixes #1521

The directory name in the zip we download from github's release
archive will be different now that the project was renamed.
It may be renamed again in the future, so try to obtain the directory
name from the zip.

Fixes #1521
@@ -612,7 +612,8 @@ Not deleting $directory; name is suspiciously short. Something is wrong."
nps_downloaded="$TEMPDIR/$nps_downloaded_fname.zip"
status "Downloading ngx_pagespeed..."
run wget "$nps_baseurl/$tag_name.zip" -O "$nps_downloaded"
nps_module_dir="$BUILDDIR/$nps_downloaded_fname"
nps_module_dir=$(unzip -qql "$nps_downloaded" | head -n1 | tr -s ' ' | cut -d' ' -f5-)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to add a comment indicating what this pipe transformation is expected to do.

@oschaaf oschaaf merged commit e733a83 into master Jan 8, 2018
@oschaaf oschaaf deleted the oschaaf-issue-1521 branch January 8, 2018 16:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants