]> xenbits.xensource.com Git - xenclient/build.git/commitdiff
[skeleton/xenclient] status-report.
authorJean Guyader <jean.guyader@eu.citrix.com>
Thu, 15 Oct 2009 20:32:10 +0000 (21:32 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Thu, 15 Oct 2009 20:32:10 +0000 (21:32 +0100)
Adding quote so we do the shell expension in the archive function
and not in the save_file function.

target/generic/target_xenclient_skeleton/usr/bin/status-report

index 5dfaaa4b7a3bb5de238875bf0d4fb2c8ab966c10..dfe2a0ec17286cdbd966b5785040eb3e9ce3cbcd 100755 (executable)
@@ -47,7 +47,7 @@ save_file()
         local save_out="$3"
 
         cd "$save_path"
-        archive "${base_path}/${save_out}.tar.bz2" ${save_file} > ${base_path}/${name}.log 2>&1
+        archive "${base_path}/${save_out}.tar.bz2" "${save_file}" > ${base_path}/${name}.log 2>&1
         files="$files ${save_out}.tar.bz2"
         cd - > /dev/null
 }