[MediaContent][Non-ACR] Update for syntax issue 28/275828/2
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 2 Jun 2022 09:24:55 +0000 (18:24 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 2 Jun 2022 09:40:27 +0000 (18:40 +0900)
Script malfunction due to '\r'.

Change-Id: Ie1087c78dc274bcaf1a399a74014f2d7c38b0314
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
tct-suite-vs/Tizen.Mediacontent.Manual.Tests/res/copy_res.sh
tct-suite-vs/Tizen.Mediacontent.Tests/res/copy_res.sh

index 040f490..fefcb86 100755 (executable)
@@ -1,5 +1,6 @@
 LOCATION='/home/owner/share'
 # Change the destination of the resource folder(absolute path).
+# Update for syntax issue(2022.06.02).
 DESTINATION_MOBILE='/home/owner/media'
 DESTINATION_TV='/home/owner/content'
 
@@ -23,15 +24,15 @@ DIR_LIST=(
 
 if [ "$1" == "-i" ]
 then
-    for value in "${FILE_LIST[@]}";do    
+    for value in "${FILE_LIST[@]}";do
         cp $LOCATION/$value $DESTINATION
     done
-    for value in "${DIR_LIST[@]}";do    
+    for value in "${DIR_LIST[@]}";do
         cp -R $LOCATION/$value $DESTINATION
     done
 elif [ "$1" == "-u" ]
 then
-    for value in "${FILE_LIST[@]}";do    
+    for value in "${FILE_LIST[@]}";do
         rm $DESTINATION/$value
     done
     for value in "${DIR_LIST[@]}";do
index 79f4cbd..43f0385 100755 (executable)
@@ -1,5 +1,6 @@
 LOCATION='/home/owner/share'
 # Change the destination of the resource folder(absolute path).
+# Update for syntax issue(2022.06.02).
 DESTINATION_MOBILE='/home/owner/media'
 DESTINATION_TV='/home/owner/content'
 
@@ -21,15 +22,15 @@ DIR_LIST=(
 
 if [ "$1" == "-i" ]
 then
-    for value in "${FILE_LIST[@]}";do    
+    for value in "${FILE_LIST[@]}";do
         cp $LOCATION/$value $DESTINATION
     done
-    for value in "${DIR_LIST[@]}";do    
+    for value in "${DIR_LIST[@]}";do
         cp -R $LOCATION/$value $DESTINATION
     done
 elif [ "$1" == "-u" ]
 then
-    for value in "${FILE_LIST[@]}";do    
+    for value in "${FILE_LIST[@]}";do
         rm $DESTINATION/$value
     done
     for value in "${DIR_LIST[@]}";do