Browse Source

make output dir in script

Nick Sweeting 7 năm trước cách đây
mục cha
commit
329b06ec5a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      bin/archivebox-export-browser-history

+ 2 - 0
bin/archivebox-export-browser-history

@@ -2,6 +2,8 @@
 
 REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )"
 
+mkdir -p "$REPO_DIR/output/sources"
+
 if [[ "$1" == "--chrome" ]]; then
     # Google Chrome / Chromium
     default=$(ls ~/Library/Application\ Support/Google/Chrome/Default/History)