From 4a03e9d340a2f1f6d097f2ec1ff5d57a38571a6f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 25 May 2013 16:36:42 +0200 Subject: [PATCH] scripts/image: add support for release build scripts in projects folder Signed-off-by: Stephan Raue --- scripts/image | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/image b/scripts/image index 39763fffe7..d54b8da917 100755 --- a/scripts/image +++ b/scripts/image @@ -225,10 +225,14 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" if [ -d "$BOOTLOADER_DIR"/files ]; then cp -R $BOOTLOADER_DIR/files/* $RELEASE_DIR fi - if [ -f "$BOOTLOADER_DIR"/release ]; then + + if [ -f $PROJECT_DIR/$PROJECT/bootloader/release ]; then + . $PROJECT_DIR/$PROJECT/bootloader/release + elif [ -f "$BOOTLOADER_DIR"/release ]; then . $BOOTLOADER_DIR/release fi fi + cp $ROOT/README* $RELEASE_DIR cp $ROOT/CHANGELOG* $RELEASE_DIR cp -R $CONFIG/release/openelec.ico $RELEASE_DIR