Skip to content

Commit 16c7a25

Browse files
committed
./makesure -l doesn't delete temp file in presense of @define #78
1 parent f19e6c8 commit 16c7a25

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Diff for: makesure.awk

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ function makesure() {
5252
else handleCodeLine($0)
5353
}
5454
doWork()
55+
realExit(0)
5556
}
5657

5758
function prepareArgs( i,arg) {
@@ -473,8 +474,6 @@ body,goalBody,goalBodies,resolvedGoals,exitCode, t0,t1,t2, goalTimed, list) {
473474
if (exitCode != 0)
474475
realExit(exitCode)
475476
}
476-
477-
realExit(0)
478477
}
479478
}
480479

Diff for: tests/15_lib.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11

2-
# TODO found one other bug, but let's fix it separately
3-
#@define HELLO="Hello"
2+
@define HELLO="Hello"
43

54
@lib
65
f1 () {
7-
# TODO found one other bug, but let's fix it separately
8-
#echo "$HELLO $1"
9-
echo "Hello $1"
6+
echo "$HELLO $1"
107
}
118

129
@goal g1

0 commit comments

Comments
 (0)