feat(lib-db): Don't add linebreaks for new lib-db values.
This commit is contained in:
parent
dca1cc741e
commit
17aa341c46
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ FLDR=$BLUEPRINT__FOLDER"/.blueprint/data/internal/db/database"
|
||||||
|
|
||||||
dbAdd() {
|
dbAdd() {
|
||||||
# dbAdd "database.record";
|
# dbAdd "database.record";
|
||||||
sed -i "s/+ db.addnewrecord;/* ${1};\n+ db.addnewrecord;/g" $FLDR > /dev/null;
|
sed -i "s/+ db.addnewrecord;/* ${1};+ db.addnewrecord;/g" $FLDR > /dev/null;
|
||||||
}; dbValidate() {
|
}; dbValidate() {
|
||||||
# dbValidate "database.record";
|
# dbValidate "database.record";
|
||||||
grep -Fxq "* ${1};" $FLDR > /dev/null;
|
grep -Fxq "* ${1};" $FLDR > /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue