Update [4] on build-docu.sh for opnfvdocs project, fixing sed variable 77/377/1
authorVictor Laza <vlaza@cloudbasesolutions.com>
Fri, 17 Apr 2015 16:32:36 +0000 (19:32 +0300)
committerVictor Laza <vlaza@cloudbasesolutions.com>
Fri, 17 Apr 2015 16:40:50 +0000 (19:40 +0300)
JIRA: fixing sed variable

Change-Id: Id0bd7792030685c7db607204c10d77af1b0f97f0
Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
jjb/opnfvdocs/build-docu.sh

index 0ccd0ca..7dbeb65 100644 (file)
@@ -16,8 +16,8 @@ for file in "${{files[@]}}"; do
   gs_cp_folder="${{file_cut}}"
 
     # sed part
-    sed -i "s/_sha1_/$git_sha1/g" $full_file_clean
-    sed -i "s/_date_/$git_date/g" $full_file_clean
+    sed -i "s/_sha1_/$git_sha1/g" $file
+    sed -i "s/_date_/$git_date/g" $file
 
     # rst2html part
     echo "rst2html $file"