File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null
1
+ pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null || exit
2
2
3
3
. ./obsidian_plugin_build_strategies.sh
4
4
5
- popd > /dev/null
5
+ popd > /dev/null || exit
6
6
7
7
build_obsidian_plugin () {
8
8
for plugin_source in " $@ "
Original file line number Diff line number Diff line change 1
- pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null
1
+ pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null || exit
2
2
3
3
. ./build_obsidian_plugin.sh --source-only
4
4
5
- popd > /dev/null
5
+ popd > /dev/null || exit
6
6
7
7
install_obsidian_plugin () {
8
8
local vault=" $1 "
Original file line number Diff line number Diff line change 7
7
# vault: the path to the root of the vault (the folder that contains the .obsidian folder).
8
8
# source: the path from a plugin folder (.obsidian/plugins/plugin) to its source code.
9
9
10
- pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null
10
+ pushd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null || exit
11
11
12
12
. ./install_obsidian_plugin.sh --source-only
13
13
14
- popd > /dev/null
14
+ popd > /dev/null || exit
15
15
16
16
install_obsidian_plugins () {
17
17
local vault=" $1 "
You can’t perform that action at this time.
0 commit comments