diff options
author | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-21 22:05:50 +0300 |
---|---|---|
committer | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-21 22:05:50 +0300 |
commit | 52508e9c37e0de373587db309e6a6a32660d7a29 (patch) | |
tree | 0c833cb508c87b21fabe77ecbba428973e9a03b4 /build/build-SD-armbian.sh | |
parent | c77b0c45606094a5f23f5c20a8e40c6ed9ab757e (diff) |
build-sd-images.yml: Make sure, IMG variable doesn't change during builds
Diffstat (limited to 'build/build-SD-armbian.sh')
-rwxr-xr-x | build/build-SD-armbian.sh | 2 |
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" |