|
Lines 59-69
do
Link Here
|
| 59 |
if [ "${cmd}" != "" ]; then |
59 |
if [ "${cmd}" != "" ]; then |
| 60 |
|
60 |
|
| 61 |
# Change to the instance's home dir if required |
61 |
# Change to the instance's home dir if required |
| 62 |
[ "chdir" != "no" ] && eval cd ~$name"-koha" |
62 |
[ "$chdir" != "no" ] && eval cd ~$name"-koha" |
| 63 |
|
63 |
|
| 64 |
koha-shell ${name} -c "${cmd}" |
64 |
koha-shell ${name} -c "${cmd}" |
| 65 |
|
65 |
|
| 66 |
# Go back to the original dir if required |
66 |
# Go back to the original dir if required |
| 67 |
[ "chdir" != "no" ] && cd $starting_dir |
67 |
[ "$chdir" != "no" ] && cd "$starting_dir" |
| 68 |
fi |
68 |
fi |
| 69 |
done |
69 |
done |
| 70 |
- |
|
|