Skip to content

Commit

Permalink
use absolute paths for dir vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hiepler committed Aug 30, 2023
1 parent 08012f7 commit da5ee3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# GPLv3
# Author: Daniel Hiepler (d-cookstrap@coderdu.de) - 2021

RPI_WORKDIR="${RPI_WORKDIR:=.bootstrap-work}"
RPI_PLUGINDIR="${RPI_PLUGINDIR:=bootstrap-plugins}"
RPI_DISTDIR="${RPI_DISTDIR:=bootstrap-dist}"
RPI_WORKDIR="${RPI_WORKDIR:=${PWD}/.bootstrap-work}"
RPI_PLUGINDIR="${RPI_PLUGINDIR:=${PWD}/bootstrap-plugins}"
RPI_DISTDIR="${RPI_DISTDIR:=${PWD}/bootstrap-dist}"
RPI_USER_PLUGINDIR="${RPI_USER_PLUGINDIR:=${HOME}/.bootstrap-plugins}"
RPI_USER_DISTDIR="${RPI_USER_DISTDIR:=${HOME}/.bootstrap-dist}"
RPI_USER_CONFIG="${RPI_USER_CONFIG:=${HOME}/.bootstrap.cfg}"
RPI_TMPDIR="${RPI_TMPDIR:=/tmp}"
RPI_ROOT="${RPI_ROOT:=.bootstrap-work/root}"
RPI_BOOT="${RPI_BOOT:=.bootstrap-work/boot}"
RPI_ROOT="${RPI_ROOT:=${RPI_WORKDIR}/root}"
RPI_BOOT="${RPI_BOOT:=${RPI_WORKDIR}/boot}"
RPI_HOSTNAME="${RPI_HOSTNAME:=unnamed}"


Expand Down

0 comments on commit da5ee3b

Please sign in to comment.