From b9a9853753f0ddcd1e8d9e8ca94c08dcdc6282b5 Mon Sep 17 00:00:00 2001 From: Andreas Olofsson Date: Wed, 24 Aug 2016 00:18:25 -0400 Subject: [PATCH] Linking test file, copying around sources is really bad... --- scripts/sim.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/sim.sh b/scripts/sim.sh index 0f464ce..af6a71e 100755 --- a/scripts/sim.sh +++ b/scripts/sim.sh @@ -1,7 +1,7 @@ #!/bin/bash -if [ -e "test_0.emf" ] +if [ -L "test_0.emf" ] then - rm test_0.emf + unlink test_0.emf fi -cp $1 test_0.emf +ln -s $1 test_0.emf ./dut.bin