trial-site/living-lab-admin: get_videos_info.sh parameter update
authorP2P-Next <p2p-next@koala.cs.pub.ro>
Tue, 19 Apr 2011 11:04:00 +0000 (14:04 +0300)
committerP2P-Next <p2p-next@koala.cs.pub.ro>
Tue, 19 Apr 2011 11:04:00 +0000 (14:04 +0300)
trial-site/living-lab-admin/gen_videos_info.sh

index a17cb2b..919f503 100755 (executable)
@@ -17,9 +17,9 @@ web_path="$2"
 
 output="${path}/videos.info"
 
-tstream_array=(${path}/*.tstream)
+tstream_array=(${path}*.tstream)
 for f in ${tstream_array[@]}; do
     tstream="$(basename $f)"
-    echo "${web_path}/${tstream}" >> $output
+    echo "${web_path}${tstream}" >> $output
     echo "    " >> $output
 done