aps: Rename IMAGEDIR envvar to IMAGESDIR
This commit is contained in:
parent
4eec0bbbbc
commit
524bb9a8be
1 changed files with 3 additions and 3 deletions
|
@ -7,14 +7,14 @@ IMAGEBUILDER_URL=${IMAGEBUILDER_URL:-http://downloads.lede-project.org/snapshots
|
||||||
TOPDIR="$PWD"
|
TOPDIR="$PWD"
|
||||||
DLDIR=${DLDIR:-"dl"}
|
DLDIR=${DLDIR:-"dl"}
|
||||||
BUILDDIR=${BUILDDIR:-"build"}
|
BUILDDIR=${BUILDDIR:-"build"}
|
||||||
IMAGEDIR=${IMAGEDIR:-"images"}
|
IMAGESDIR=${IMAGEDIR:-"images"}
|
||||||
|
|
||||||
mkdir -p "$DLDIR"
|
mkdir -p "$DLDIR"
|
||||||
mkdir -p "$BUILDDIR"; rm -rf "$BUILDDIR"/*
|
mkdir -p "$BUILDDIR"; rm -rf "$BUILDDIR"/*
|
||||||
mkdir -p "$IMAGEDIR"
|
mkdir -p "$IMAGESDIR"
|
||||||
|
|
||||||
VERSION="$(basename "$(git describe --always --tags --dirty --match 'access-points/*')")"
|
VERSION="$(basename "$(git describe --always --tags --dirty --match 'access-points/*')")"
|
||||||
IMAGEDIR="$IMAGEDIR"/"$VERSION"
|
IMAGEDIR="$IMAGESDIR"/"$VERSION"
|
||||||
mkdir -p "$IMAGEDIR"
|
mkdir -p "$IMAGEDIR"
|
||||||
|
|
||||||
imagebuilder="$(basename "$IMAGEBUILDER_URL")"
|
imagebuilder="$(basename "$IMAGEBUILDER_URL")"
|
||||||
|
|
Loading…
Reference in a new issue