mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
makefile: stop using extended regexp in sed
Looks like mac doesn't support the -r option to sed to turn on extended regexps. It only supports the -E option which linux doesn't. So, simplest fix is to avoid extended regexps and just use as many dots as possible from now on.
This commit is contained in:
parent
af1b290381
commit
18b5bd4690
2
Makefile
2
Makefile
@ -654,7 +654,7 @@ $$(UAVO_COLLECTION_DIR)/$(1)/uavohash: $$(UAVO_COLLECTION_DIR)/$(1)/uavo-xml
|
||||
--path=$$(ROOT_DIR) \
|
||||
--uavodir=$$(UAVO_COLLECTION_DIR)/$(1)/uavo-xml/shared/uavobjectdefinition \
|
||||
--format='$$$${UAVOSHA1TXT}' | \
|
||||
sed -re 's|(.{16}).*|\1|' | \
|
||||
sed -e 's|\(................\).*|\1|' | \
|
||||
awk '{ print $$$$1, "$$(UAVO_COLLECTION_DIR)/$(1)/uavohash" }' | \
|
||||
xargs ln -sf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user