aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Yue Gan <yueg@google.com>2017-02-15 18:19:41 +0000
committerGravatar Yue Gan <yueg@google.com>2017-02-15 19:19:56 +0000
commit06c3a54dfbe9252307e823f3b81358084c53c88f (patch)
treec7886c8005c605b324e49498fc3689c1338a04ca /scripts
parentb535e6df1eda2a799647c9db9a0b9e1baa26f0bc (diff)
Fixes another bug that "nobuild" tar files are not extracted.
-- PiperOrigin-RevId: 147612226 MOS_MIGRATED_REVID=147612226
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index bb863baa00..7771b5d6cc 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -503,8 +503,8 @@ function build_and_publish_site() {
return 1
fi
local prod_dir="${tmpdir}"
+ tar xf "${site}" --exclude=CNAME -C "${tmpdir}"
if [ "$nobuild" != "nobuild" ]; then
- tar xf "${site}" --exclude=CNAME -C "${tmpdir}"
jekyll build -s "${tmpdir}" -d "${tmpdir}/production"
prod_dir="${tmpdir}/production"
fi