diff --git a/.editorconfig b/.editorconfig index e633e8a6a316706e81e8e0d3a4019fc76c3205e8..cca6685351efdb26782991d2f2bdb9b1b1d8f9a1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,6 +27,8 @@ indent_size = 2 indent_style = space indent_size = 4 +[*.pl] + [*.py] indent_style = space indent_size = 4 diff --git a/contrib/i18n-scan.pl b/contrib/i18n-scan.pl index 29abefccaeb6da162d4e8f3110fba27f6c2f1bdf..e6aaf0de20f96ea05ae95d7233945b2780891a7b 100755 --- a/contrib/i18n-scan.pl +++ b/contrib/i18n-scan.pl @@ -79,7 +79,7 @@ if( open F, "find @ARGV -type f '(' -name '*.html' -o -name '*.lua' ')' |" ) { my $stag = quotemeta $1; my $etag = $stag; - $etag =~ s/\[/]/g; + $etag =~ s/\[/]/g; ( $res ) = extract_tagged($code, $stag, $etag); diff --git a/scripts/copy_output.lua b/scripts/copy_output.lua index b5c6f1b243c5238f21fca6763b26c50f3a3c0b18..1af2f8f7bbe4442348f71671d272032d4a02c91d 100755 --- a/scripts/copy_output.lua +++ b/scripts/copy_output.lua @@ -69,16 +69,16 @@ end -- copy kernel image with debug symbols local kernel_debug_glob = string.format('%s/gluon-\0-%s-kernel-debug.tar.zst', - env.GLUON_DEBUGDIR, - target) + env.GLUON_DEBUGDIR, + target) lib.exec {'rm', '-f', kernel_debug_glob} local kernel_debug_source = string.format('openwrt/bin/targets/%s/kernel-debug.tar.zst', - bindir) + bindir) local kernel_debug_dest = string.format('%s/gluon-%s-%s-%s-kernel-debug.tar.zst', - env.GLUON_DEBUGDIR, - lib.site_code, - env.GLUON_RELEASE, - target) + env.GLUON_DEBUGDIR, + lib.site_code, + env.GLUON_RELEASE, + target) lib.exec {'cp', kernel_debug_source, kernel_debug_dest} diff --git a/scripts/update.sh b/scripts/update.sh index 0d33a8cc2da25daa71b26261459ff5a99486b3c5..a9f28b05fa343a2446c9c748723fad254ea75b9f 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -21,8 +21,8 @@ for module in $GLUON_MODULES; do if ! git branch -f base "$commit" 2>/dev/null; then git fetch "$repo" "$branch" git branch -f base "$commit" || { - echo "unable to find commit \"$commit\" on branch \"$branch\" in repo \"$repo\"." >&2 - exit 1 + echo "unable to find commit \"$commit\" on branch \"$branch\" in repo \"$repo\"." >&2 + exit 1 } fi done diff --git a/targets/lantiq-xrx200 b/targets/lantiq-xrx200 index 364c0c31d51560396b3e8467c8e5ae9e876fabc4..047db6da17c7943f4beeb82dfbae02755297880a 100644 --- a/targets/lantiq-xrx200 +++ b/targets/lantiq-xrx200 @@ -49,10 +49,10 @@ device('avm-fritz-box-7412', 'avm_fritz7412', { -- TP-Link - -- CAVEAT: These devices don't have a dedicated WAN port. - -- All ethernet ports on the device are bridged and - -- used as WAN ports. Clients connected to these - -- ports will be connected to your private network. +-- CAVEAT: These devices don't have a dedicated WAN port. +-- All ethernet ports on the device are bridged and +-- used as WAN ports. Clients connected to these +-- ports will be connected to your private network. device('tp-link-td-w8970', 'tplink_tdw8970', { factory = false, diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621 index 4cc218ad621b294a0423e36e4946de34dbede3b7..92f338432b07010eea2f9c790bb78d4412cd516e 100644 --- a/targets/ramips-mt7621 +++ b/targets/ramips-mt7621 @@ -8,7 +8,7 @@ device('asus-rt-ac57u', 'asus_rt-ac57u', { -- Cudy device('cudy-wr2100', 'cudy_wr2100', { - factory = false, + factory = false, })