set flags after checking the command line
This commit is contained in:
parent
00a4ab627d
commit
a148899966
1 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
echo "usage: ./scripts/compare-commits.sh <commit1> <commit2> [additional llama-bench arguments]"
|
echo "usage: ./scripts/compare-commits.sh <commit1> <commit2> [additional llama-bench arguments]"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
bench_args="${@:3}"
|
bench_args="${@:3}"
|
||||||
|
|
||||||
rm -f llama-bench.sqlite
|
rm -f llama-bench.sqlite
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue