mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-11 13:04:35 +00:00
10 lines
174 B
Plaintext
10 lines
174 B
Plaintext
|
# Detect sed version
|
||
|
SED_CMD="sed"
|
||
|
SED_I=(-i)
|
||
|
if command -v gsed >/dev/null 2>&1; then
|
||
|
SED_CMD="gsed"
|
||
|
elif [[ "$(uname)" == "Darwin" ]]; then
|
||
|
SED_I=(-i '')
|
||
|
BSDSED=1
|
||
|
fi
|