correct sync script - tip version V00.03
authorymh <ymh.work@gmail.com>
Tue, 04 May 2010 18:19:15 +0200
changeset 121 f7e94f36ff35
parent 120 1d93862d6071
child 122 c71857dacd94
correct sync script - tip version
build/sbin/sync_mosatags
--- a/build/sbin/sync_mosatags	Tue May 04 18:13:07 2010 +0200
+++ b/build/sbin/sync_mosatags	Tue May 04 18:19:15 2010 +0200
@@ -93,7 +93,8 @@
     version_file_tmpl=$export_path_web/config/version.yml.tmpl
     version_file=$export_path_web/config/version.yml
     if [ "$version" == "tip" ]; then
-        version_str=`hg sum | head -n 1 | tr -s " "| cut -f 2 -d" "`
+        version_nb_str=`hg sum | head -n 1 | tr -s " "| cut -f 2 -d" "`
+        version_str="tip - $version_nb_str"
     else
         pushd "$clone_path"
         version_str=$version