From: Jean Guyader Date: Thu, 15 Oct 2009 20:32:10 +0000 (+0100) Subject: [skeleton/xenclient] status-report. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ce685102ee29a1091447b8d35b039b36842bc7c6;p=xenclient%2Fbuild.git [skeleton/xenclient] status-report. Adding quote so we do the shell expension in the archive function and not in the save_file function. --- diff --git a/target/generic/target_xenclient_skeleton/usr/bin/status-report b/target/generic/target_xenclient_skeleton/usr/bin/status-report index 5dfaaa4..dfe2a0e 100755 --- a/target/generic/target_xenclient_skeleton/usr/bin/status-report +++ b/target/generic/target_xenclient_skeleton/usr/bin/status-report @@ -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 }