bin/dao: execute run_demo regardless of pwd

This commit is contained in:
Dastan-glitch
2022-10-20 04:57:43 +03:00
parent dc86c69562
commit 5c346b44e4

View File

@@ -1,5 +1,5 @@
#!/bin/bash
dao="../../../dao"
dao="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && cd ../../.. && pwd )/dao"
$dao create 110 110 1 2
addr=$($dao addr | cut -d " " -f 4)