Skip to content

Commit

Permalink
fix(reconfigure_xmpp): respect CONFIG_PATH variable everywhere if set
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkvanmeerten authored and damencho committed Sep 19, 2024
1 parent 7eb0ebe commit 590a00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/reconfigure_xmpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CC_MUC_PREFIX="net.java.sip.communicator.impl.protocol.jabber"
ESCAPE_PREFIX="${CC_MUC_PREFIX//\./\\.}"

# get all server ids from the configuration files
CONFIG_SERVER_IDS="$(grep "$CC_MUC_PREFIX.acc" /etc/jitsi/jigasi/sip-communicator.properties \
CONFIG_SERVER_IDS="$(grep "$CC_MUC_PREFIX.acc" $CONFIG_PATH \
| cut -d '.' -f 8 \
| grep '=' \
| cut -d '=' -f2)"
Expand Down

0 comments on commit 590a00a

Please sign in to comment.