Skip to content
This repository
Browse code

[Makefile] generate the root sha256.txt

It was missed after the last SHA changes

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
commit 33a6a9e2f60204b450ad9dd082c3c776e30ebf1b 1 parent 0db58e3
Christopher Hall authored June 19, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  Makefile
4  Makefile
@@ -232,8 +232,10 @@ version: validate-destdir
232 232
 	${RM} "${VERSION_FILE}" "${DESTDIR_PATH}"/*.idx-tmp "${DESTDIR_PATH}"/*~
233 233
 	${RM} "${DESTDIR_PATH}"/*/*.idx-tmp
234 234
 	echo VERSION: ${VERSION_TAG} >> "${VERSION_FILE}"
235  
-	find "${DESTDIR_PATH}" -mindepth 1 -type d -print -exec \
  235
+	find '${DESTDIR_PATH}' -mindepth 1 -type d -print -exec \
236 236
 	  ${MAKE} -C '{}' -f '${PWD}/$(firstword ${MAKEFILE_LIST})' DESTDIR='${DESTDIR_PATH}' '${CHECKSUM_FILE}' ';'
  237
+	(cd '${DESTDIR_PATH}' &&  sha${SHA_LEVEL}sum $$(find . -maxdepth 1 -type f -printf '%f\n' | grep -v '${CHECKSUM_FILE}') > '${CHECKSUM_FILE}')
  238
+
237 239
 
238 240
 .PHONY: clean-sha
239 241
 clean-sha:

0 notes on commit 33a6a9e

Please sign in to comment.
Something went wrong with that request. Please try again.