blob: 31b9b64c4ff0e2d1fc81d7f35b5a5816eda2dbcb [file] [log] [blame]
xf.lice873192023-11-08 17:10:35 -08001#!/bin/bash
2
3outfile=$1
4cfg_file_name=$2
5ubinize_para=$3
6
7echo "outfile:$outfile"
8echo "ubinize_para:$ubinize_para"
9
10cat $cfg_file_name
11
12ubinize -o $outfile $ubinize_para $cfg_file_name
13if [ $? -ne 0 ]; then
14 echo "ubinize error"
15 exit -2
16else
17 echo "ubinize ok"
18fi
19