Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-21 22:05:50 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-07-21 22:05:50 +0300
commit52508e9c37e0de373587db309e6a6a32660d7a29 (patch)
tree0c833cb508c87b21fabe77ecbba428973e9a03b4 /build/build-SD-armbian.sh
parentc77b0c45606094a5f23f5c20a8e40c6ed9ab757e (diff)
build-sd-images.yml: Make sure, IMG variable doesn't change during builds
Diffstat (limited to 'build/build-SD-armbian.sh')
-rwxr-xr-xbuild/build-SD-armbian.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build-SD-armbian.sh b/build/build-SD-armbian.sh
index a7e3977d..fddc30c5 100755
--- a/build/build-SD-armbian.sh
+++ b/build/build-SD-armbian.sh
@@ -18,7 +18,7 @@ NCPCFG=etc/ncp.cfg
echo -e "\e[1m\n[ Build NCP ${BNAME} ]\e[0m"
-IMG="NextCloudPi_${BNAME}_$( date "+%m-%d-%y" ).img"
+IMG="${IMG:-NextCloudPi_${BNAME}_$( date "+%m-%d-%y" ).img}"
IMG=tmp/"$IMG"
TAR=output/"$( basename "$IMG" .img ).tar.bz2"