mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Merge branch 'master' of https://github.com/PX4/Firmware into distance_sensor
This commit is contained in:
commit
5672df8eda
@ -54,7 +54,7 @@ On a Debian/Ubuntu system please run:
|
||||
|
||||
sudo apt-get install python-empy
|
||||
sudo pip install catkin_pkg
|
||||
|
||||
|
||||
On MacOS please run:
|
||||
sudo pip install empy catkin_pkg
|
||||
|
||||
@ -95,13 +95,19 @@ def convert_dir(inputdir, outputdir, templatedir):
|
||||
"""
|
||||
includepath = incl_default + [':'.join([package, inputdir])]
|
||||
for f in os.listdir(inputdir):
|
||||
# Ignore hidden files
|
||||
if f.startswith("."):
|
||||
continue
|
||||
|
||||
fn = os.path.join(inputdir, f)
|
||||
if os.path.isfile(fn):
|
||||
convert_file(
|
||||
fn,
|
||||
outputdir,
|
||||
templatedir,
|
||||
includepath)
|
||||
# Only look at actual files
|
||||
if not os.path.isfile(fn):
|
||||
continue
|
||||
|
||||
convert_file(fn,
|
||||
outputdir,
|
||||
templatedir,
|
||||
includepath)
|
||||
|
||||
|
||||
def copy_changed(inputdir, outputdir, prefix=''):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user