[Scripts][Non-ACR] Version fix for rmmod command 12/323012/1
authorutk.tiwari <utk.tiwari@samsung.com>
Mon, 21 Apr 2025 19:47:11 +0000 (01:17 +0530)
committerutk.tiwari <utk.tiwari@samsung.com>
Mon, 21 Apr 2025 19:47:11 +0000 (01:17 +0530)
Change-Id: Ida1fe9a86e17d25a11945d0288b33d5d7a0aefd4
Signed-off-by: utk.tiwari <utk.tiwari@samsung.com>
scripts_tpk/tpkbuild.sh

index 3b979ac025da7906d24286bdb89f45d02a6eca26..12c6b48ec4779958a928cebd180f4b5b8b71cd91 100755 (executable)
@@ -402,7 +402,7 @@ function rm_module {
                PREFIX="core"
        fi
 
-       TIZEN____="tizen_native_9.0"
+       TIZEN____="tizen_native_10.0"
 
        echo "Removing $BUILD_TYPE:->$MODULE_NAME module from project..."
        TO_PKG_DIR="/opt/tct/$TIZEN____/packages"
@@ -420,21 +420,21 @@ function rm_module {
        if [ $? -ne 0 ]; then echo "Aborting..."; exit 1; fi
 
        cd $TO_PKG_DIR
-       echo "-- Removing $TO_PKG_DIR/mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip file"
-       if [ -f $TO_PKG_DIR/mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip ]; then
-               rm mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip
+       echo "-- Removing $TO_PKG_DIR/mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip file"
+       if [ -f $TO_PKG_DIR/mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip ]; then
+               rm mobile/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip
        fi
-       echo "-- Removing $TO_PKG_DIR/wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip file"
-       if [ -f $TO_PKG_DIR/wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip ]; then
-               rm wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip
+       echo "-- Removing $TO_PKG_DIR/wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip file"
+       if [ -f $TO_PKG_DIR/wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip ]; then
+               rm wearable/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip
        fi
-       echo "-- Removing $TO_PKG_DIR/tv/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip file"
-       if [ -f $TO_PKG_DIR/tv/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip ]; then
-               rm tv/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip
+       echo "-- Removing $TO_PKG_DIR/tv/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip file"
+       if [ -f $TO_PKG_DIR/tv/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip ]; then
+               rm tv/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip
        fi
-       echo "-- Removing $TO_PKG_DIR/headed/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip file"
-       if [ -f $TO_PKG_DIR/headed/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip ]; then
-               rm headed/tct-$MODULE_NAME-native-$BUILD_TYPE-9.0.zip
+       echo "-- Removing $TO_PKG_DIR/headed/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip file"
+       if [ -f $TO_PKG_DIR/headed/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip ]; then
+               rm headed/tct-$MODULE_NAME-native-$BUILD_TYPE-10.0.zip
        fi
 
        cd $PROJECT_DIR