fix migration script 59/320859/1
authordyamy-lee <dyamy.lee@samsung.com>
Fri, 5 Apr 2024 09:24:19 +0000 (18:24 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Mon, 25 Nov 2024 05:26:42 +0000 (05:26 +0000)
This is shell command's result. So, it needs to use $() not ${}.

Change-Id: Iea45f05f26ca9e9dc825805dd8cac478840597e9
(cherry picked from commit ab01ed13461f3b771328c04d87a4c4a2c32ce79f)

script/migration/stt.sh

index a3f20d58e1d3549c94f8420c4fe66f7e3c13b8a2..ef4eea783f37a870efc2a5eaf6a5c7715f87510f 100644 (file)
@@ -26,14 +26,14 @@ function stt_migration() {
     log I "STT Migration START"
     log I "STT Migration config files"
 
-    local SRC_OWNER_PATH=${get_old_rw_path}/usr/home/owner/share/.voice/
-    local SRC_GUEST_PATH=${get_old_rw_path}/usr/home/guest/share/.voice/
-    local SRC_GLOBAL_PATH=${get_old_rw_path}/etc/skel/share/.voice/
-    local SRC_CONF_FILE=${get_old_rw_path}/usr/home/owner/share/.voice/stt-config.xml
-
-    local DST_OWNER_PATH=${get_rw_path}/usr/home/owner/share/.voice/
-    local DST_GUEST_PATH=${get_rw_path}/usr/home/guest/share/.voice/
-    local DST_GLOBAL_PATH=${get_rw_path}/etc/skel/share/.voice/
+    local SRC_OWNER_PATH=$(get_old_rw_path)/usr/home/owner/share/.voice/
+    local SRC_GUEST_PATH=$(get_old_rw_path)/usr/home/guest/share/.voice/
+    local SRC_GLOBAL_PATH=$(get_old_rw_path)/etc/skel/share/.voice/
+    local SRC_CONF_FILE=$(get_old_rw_path)/usr/home/owner/share/.voice/stt-config.xml
+
+    local DST_OWNER_PATH=$(get_rw_path)/usr/home/owner/share/.voice/
+    local DST_GUEST_PATH=$(get_rw_path)/usr/home/guest/share/.voice/
+    local DST_GLOBAL_PATH=$(get_rw_path)/etc/skel/share/.voice/
 
     set_dst_path DST_OWNER_PATH
     set_dst_path DST_GUEST_PATH