mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Fix directory entry and exit in deploy-ebook-to-www.
This commit is contained in:
parent
683e5b1a32
commit
b1c863ed93
1 changed files with 6 additions and 1 deletions
|
@ -54,7 +54,10 @@ do
|
|||
die "Invalid repo root: ${repoDir}"
|
||||
fi
|
||||
|
||||
cd "${repoDir}" || return
|
||||
if ! pushd "${repoDir}" > /dev/null; then
|
||||
echo "Couldn't cd into ${repoDir}. Skipping."
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "${verbose}" = "true" ]; then
|
||||
printf "Entering %s\n" "${repoDir}"
|
||||
|
@ -155,6 +158,8 @@ do
|
|||
if [ "${verbose}" = "true" ]; then
|
||||
printf "Done.\n"
|
||||
fi
|
||||
|
||||
popd > /dev/null || die "Couldn't pop directory."
|
||||
done
|
||||
|
||||
# Build the OPDS catalog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue