mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
Fix ORS in check_file_license.sh
This commit is contained in:
parent
87b4d959c1
commit
f73d5931aa
@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
get_c_license() {
|
||||
awk 'BEGIN {ORS="\0"}{if($1 == "*/") {print; exit;}} {print}' $1
|
||||
awk 'BEGIN {ORS=""}{if($1 == "*/") {print; exit;}} {print}' $1
|
||||
}
|
||||
|
||||
get_sql_license() {
|
||||
awk 'BEGIN {ORS="\0"}{if($1 == "") {print; exit;}} {print}' $1
|
||||
awk 'BEGIN {ORS=""}{if($1 == "") {print; exit;}} {print}' $1
|
||||
}
|
||||
|
||||
check_file() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user