diff --git a/src/build.sh b/src/build.sh index 323d9c657cf286a20ceed0670c372bf53f23358a..7e44e42a1716b646b38f178400d8fdfde3683175 100755 --- a/src/build.sh +++ b/src/build.sh @@ -246,9 +246,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then if [ "$RECOVERY_IMG" = true ]; then if [ -f "recovery.img" ]; then - cp -a recovery.img "$ZIP_DIR/$zipsubdir/recovery-${build%.*}img" + cp -a recovery.img "$ZIP_DIR/$zipsubdir/recovery-${build%.*}.img" else - cp -a boot.img "$ZIP_DIR/$zipsubdir/recovery-${build%.*}img" + cp -a boot.img "$ZIP_DIR/$zipsubdir/recovery-${build%.*}.img" fi fi done