From 4827ba037d5ef7799729c3fe746b8fabd4dd9b93 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Fri, 6 Apr 2018 02:12:48 +0100 Subject: [PATCH] gem5-bench-cache: fix removal of existing checkpoints --- gem5-bench-cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gem5-bench-cache b/gem5-bench-cache index 1efc715..eb47a4f 100755 --- a/gem5-bench-cache +++ b/gem5-bench-cache @@ -66,7 +66,7 @@ bench-all() ( if "$generate_checkpoints"; then # Create the checkpoints after the kernel boot. - rm -rf "${m5out_dir}/cpt.*"; + rm -rf "${m5out_dir}"/cpt.*; printf 'm5 exit' >"${readfile_file}" cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'" # 1