fix: Dokumente-Ordner sprachunabhaengig aufloesen
- neues tools/_paths.sh loest den Dokumente-Ordner zur Laufzeit auf: xdg-user-dir DOCUMENTS, sonst ~/Dokumente, sonst ~/Documents - sync_assets.sh und rotoscope.sh nutzen workbench_dir statt $HOME/Documents/workbench_rinkplanner - promote_rotoscope.py und blender/rotoscope.py loesen den Workbench-Pfad genauso auf und bevorzugen weiterhin RINKPLANNER_WORKBENCH - Doku auf den tatsaechlichen Pfad ~/Dokumente/workbench_rinkplanner umgestellt
This commit is contained in:
parent
c3677bf3e1
commit
0ac0624ba2
9 changed files with 108 additions and 14 deletions
|
|
@ -7,7 +7,9 @@
|
|||
set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
WORKBENCH="${RINKPLANNER_WORKBENCH:-$HOME/Documents/workbench_rinkplanner}"
|
||||
# shellcheck source=tools/_paths.sh
|
||||
source "$REPO_ROOT/tools/_paths.sh"
|
||||
WORKBENCH="$(workbench_dir)"
|
||||
BLENDER="${BLENDER:-$(command -v blender || true)}"
|
||||
SCRIPT="$REPO_ROOT/tools/blender/rotoscope.py"
|
||||
|
||||
|
|
@ -47,6 +49,7 @@ Aufruf: tools/rotoscope.sh <befehl> [optionen]
|
|||
|
||||
Umgebung:
|
||||
RINKPLANNER_WORKBENCH Workbench-Archiv
|
||||
(Standard: <Dokumente>/workbench_rinkplanner)
|
||||
BLENDER Blender-Binary
|
||||
RINKPLANNER_RIG Quell-Rig (Standard: skater_rig_v006.blend)
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue