Codebase list mdadm / 9781c9c
Generate config even when SOURCE_DATE_EPOCH is not set; fixup to 04adb527. (Closes: #992853) The patch provided in Bug#982607 caused mkconf to abort when the reproducible variable was not set. That was probably not the intent of the submitter. It could potentially also break many installations on upgrade. Setting an empty default value here should avoid the error. The quotes were added as good a safety pratice. Felix Lechner 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9494 fi
9595 fi
9696
97 if [ -z $SOURCE_DATE_EPOCH ]; then
97 if [ -z "${SOURCE_DATE_EPOCH:-}" ]; then
9898 echo "# This configuration was auto-generated on $(date -R) by mkconf"
9999 else
100100 echo "# This configuration was auto-generated on $(date -R --utc -d@$SOURCE_DATE_EPOCH) by mkconf"