Skip to content

Commit

Permalink
Fix some minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
3d-gussner committed Dec 20, 2021
1 parent 026f2cc commit e3e0ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# config.sh - multi-language support configuration script
# Definition of absolute paths etc.
Expand Down Expand Up @@ -49,7 +49,7 @@ elif [ "$COMMUNITY_LANG_GROUP" = "2" ]; then
elif [ "$COMMUNITY_LANG_GROUP" = "3" ]; then
COMMUNITY_LANGUAGES=$(grep --max-count=$MAX_COMMINITY_LANG "^#define COMMUNITY_LANG_GROUP3_" ../Firmware/config.h| cut -d '_' -f4 |cut -d ' ' -f1 |tr '[:upper:]' '[:lower:]'| tr '\n' ' ')
fi
echo "Community language $COMMUNITY_LANGUAGES"

if [ -z "$COMMUNITY_LANGUAGES" ]; then
export COMMUNITY_LANGUAGES="$COMMUNITY_LANGUAGES"
fi
Expand Down

0 comments on commit e3e0ff0

Please sign in to comment.