ensure that grenade db is fresh on each run
The grenade db is really just an ini file, but there is no reason why it should persist in a second run of grenade, and it actually causes issues if it does. Blank it out in the init phase to ensure we're starting with a blank store. Change-Id: I22a2b53739153011f5c250739278719259ad7860
This commit is contained in:
parent
a88dd83270
commit
9bf1482680
@ -84,11 +84,10 @@ function resources {
|
||||
done
|
||||
}
|
||||
|
||||
# initialize the grenade_db and ensure that it's blank for each run
|
||||
function init_grenade_db {
|
||||
if [[ ! -e $GRENADE_DB ]]; then
|
||||
mkdir -p $SAVE_DIR
|
||||
touch $GRENADE_DB
|
||||
fi
|
||||
mkdir -p $SAVE_DIR
|
||||
echo "" > $GRENADE_DB
|
||||
}
|
||||
|
||||
function resource_save {
|
||||
|
Loading…
x
Reference in New Issue
Block a user