From 1b78f4d1eae020bbe7040f7a09ced3454b8a9222 Mon Sep 17 00:00:00 2001 From: Anagh Kumar Baranwal Date: Tue, 23 Oct 2018 23:36:30 +0530 Subject: [PATCH] Changed the docs scripts to use $HOME & $USER instead of specific values Signed-off-by: Anagh Kumar Baranwal --- Makefile | 2 +- docs/content/cache.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4e515ab31..be1d1b434 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ MANUAL.txt: MANUAL.md pandoc -s --from markdown --to plain MANUAL.md -o MANUAL.txt commanddocs: rclone - rclone gendocs docs/content/commands/ + XDG_CACHE_HOME="" XDG_CONFIG_HOME="" HOME="\$$HOME" USER="\$$USER" rclone gendocs docs/content/commands/ backenddocs: rclone bin/make_backend_docs.py ./bin/make_backend_docs.py diff --git a/docs/content/cache.md b/docs/content/cache.md index cc9bde8b5..83d72df61 100644 --- a/docs/content/cache.md +++ b/docs/content/cache.md @@ -420,7 +420,7 @@ The remote name is used as the DB file name. - Config: db_path - Env Var: RCLONE_CACHE_DB_PATH - Type: string -- Default: "/home/ncw/.cache/rclone/cache-backend" +- Default: "$HOME/.cache/rclone/cache-backend" #### --cache-chunk-path @@ -436,7 +436,7 @@ then "--cache-chunk-path" will use the same path as "--cache-db-path". - Config: chunk_path - Env Var: RCLONE_CACHE_CHUNK_PATH - Type: string -- Default: "/home/ncw/.cache/rclone/cache-backend" +- Default: "$HOME/.cache/rclone/cache-backend" #### --cache-db-purge