Skip to content

Commit

Permalink
add date to filename
Browse files Browse the repository at this point in the history
  • Loading branch information
bri committed Feb 14, 2024
1 parent 9c6be24 commit 1a7173f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ BUILD_IMAGE(){
BASE_FILE="$(basename "${BUILD_FILE}")"
CUT_FILE="$(cut -d- -f2- <<<"${BASE_FILE}")"
HASH=$(cut -b-5 <<<"${BASE_FILE}")
OUTNAME="build/$(_PREFIX)${HASH}_${TARGET}_${CUT_FILE}"
OUTNAME="build/$(_PREFIX)${HASH}-$(date -I)_${TARGET}_${CUT_FILE}"
#cp --sparse "${BUILD_FILE}" "${OUTNAME}"
ln -vs "${BUILD_FILE}" "${OUTNAME}"
}
Expand Down

0 comments on commit 1a7173f

Please sign in to comment.