SoC c3 : script: Fix C3 compilation error. [1/1]

PD#SWPL-167118

Problem:
C3 compilation error

Solution:
Fixing compilation environment issues caused by the -e option

Verify:
N/A

Change-Id: I9d573f6924b916d470444c453bd606b98611ab39
Signed-off-by: shijie.xiong <shijie.xiong@amlogic.com>
diff --git a/gen_scatter_lib.sh b/gen_scatter_lib.sh
index f954fcd..9159de2 100755
--- a/gen_scatter_lib.sh
+++ b/gen_scatter_lib.sh
@@ -170,7 +170,9 @@
 	SEGMENT_RENAME_IGNORE_LIST+=($OPTARG)
 	;;
 	e )
-	echo "<---generate empty rule--->"
+	generate_segment_name $SEGMENT_NAME
+	generate_segment_rule_file
+	echo "<---generate default rule--->"
 	exit 0
 	;;
 	h )