Skip to content

Commit 97220ce

Browse files
committed
fix(travis-install.sh): working directory
1 parent f4ce5ec commit 97220ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

travis-install.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
cd "$(dirname "$0")"
4+
35
dep_packages=(
46
doxygen
57
libboost-filesystem-dev
@@ -27,7 +29,7 @@ if [[ -n "${RIME_PLUGINS}" ]]; then
2729
bash ./install-plugins.sh ${RIME_PLUGINS}
2830
for plugin_dir in plugins/*; do
2931
if [[ -e "${plugin_dir}/travis-install.sh" ]]; then
30-
bash "${plugin_dir}/travis-install.sh"
32+
(cd "${plugin_dir}"; bash ./travis-install.sh)
3133
fi
3234
done
3335
fi

0 commit comments

Comments
 (0)