1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-07 07:07:09 +02:00

feat(export_browser_history): fail script when errors occur

This commit is contained in:
Phil Crockett
2025-02-16 08:34:41 +01:00
parent 2ff3fc434e
commit 2e1ac0409d

View File

@@ -11,6 +11,8 @@
# firefox_bookmarks.json # firefox_bookmarks.json
# safari_history.json # safari_history.json
set -eo pipefail
BROWSER_TO_EXPORT="${1?Please specify --chrome, --firefox, or --safari}" BROWSER_TO_EXPORT="${1?Please specify --chrome, --firefox, or --safari}"
OUTPUT_DIR="$(pwd)" OUTPUT_DIR="$(pwd)"