Fix subshell usage.

main
Joshua Potter 2023-12-16 07:58:24 -07:00
parent 9bd217dc37
commit 1e234aa736
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ fi
SRC_DIR="$1" SRC_DIR="$1"
BUILD_DIR="$2" BUILD_DIR="$2"
cd "$SRC_DIR" || (>&2 echo "Could not cd to $SRC_DIR"; exit 1) cd "$SRC_DIR" || { >&2 echo "Could not cd to $SRC_DIR"; exit 1; }
# We run this command twice to allow any cross-references to resolve correctly. # We run this command twice to allow any cross-references to resolve correctly.
# https://tex.stackexchange.com/questions/41539/does-hyperref-work-between-two-files # https://tex.stackexchange.com/questions/41539/does-hyperref-work-between-two-files