Lines Matching refs:name_dir
74 declare -x name_dir=""
194 name_dir="$TMP_DIR/$name"
197 dreport_log="$name_dir/$DREPORT_LOG"
200 summary_log="$name_dir/$SUMMARY_LOG"
235 tar -Jcf "$name_dir.tar.xz" -C \
236 $(dirname "$name_dir") $(basename "$name_dir")
239 cat "$name_dir.tar.xz" | tee -a "/tmp/dumpheader_$EPOCHTIME" > /dev/null
240 mv "/tmp/dumpheader_$EPOCHTIME" "$name_dir.tar.xz"
242 tar -Jcf "$name_dir.tar.xz" -C \
243 $(dirname "$name_dir") $(basename "$name_dir")
248 rm -r "$name_dir"
253 rm -r "$name_dir"
262 cp "$name_dir.tar.xz" "$dump_dir"
264 echo "Failed to copy the $name_dir.tar.xz to $dump_dir"
265 rm "$name_dir.tar.xz"
270 rm "$name_dir.tar.xz"