Remove duplicate file extensions.

Gracefully remove duplicate file extensions on the output filename

Change-Id: Id4f8b0d75b587c238c89d6ca7a06fab6a57cd627
This commit is contained in:
Chris Jones 2013-03-14 17:56:18 +00:00
parent 5b99028acf
commit e34e75ff22

View File

@ -79,6 +79,8 @@ source $_LIB/img-defaults
source $_LIB/common-functions
source $_LIB/img-functions
IMAGE_NAME=${IMAGE_NAME%%\.${IMAGE_TYPE}}
IMAGE_ELEMENT=$($SCRIPT_HOME/element-info --expand-dependencies $IMAGE_ELEMENT)
echo "Building elements: $IMAGE_ELEMENT"