orion: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
committed by
Christian Lamparter
parent
81c52edf2b
commit
a421a12f9c
@@ -110,7 +110,7 @@ endef
|
||||
|
||||
define Image/Default/FileSizeCheck
|
||||
# parameters: 1 = file path, 2 = maximum size in bytes
|
||||
[ `stat -c %s '$(1)'` -le $(2) ] || { echo ' ERROR: $(1) too big (> $(2) bytes)'; rm -f $(1); }
|
||||
[ $(stat -c %s '$(1)') -le $(2) ] || { echo ' ERROR: $(1) too big (> $(2) bytes)'; rm -f $(1); }
|
||||
endef
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user