diff options
author | 2017-02-15 18:19:41 +0000 | |
---|---|---|
committer | 2017-02-15 19:19:56 +0000 | |
commit | 06c3a54dfbe9252307e823f3b81358084c53c88f (patch) | |
tree | c7886c8005c605b324e49498fc3689c1338a04ca /scripts | |
parent | b535e6df1eda2a799647c9db9a0b9e1baa26f0bc (diff) |
Fixes another bug that "nobuild" tar files are not extracted.
--
PiperOrigin-RevId: 147612226
MOS_MIGRATED_REVID=147612226
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/build.sh | 2 |
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 |