-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small cleanups to the REP scripts. (#396)
1. Removes instances of /usr/bin/env python, which don't work on non-Linux and also were wrong in some cases. 2. Makes sure to use raw strings for regexes, which gets rid of some warnings with modern Python. 3. Uses '-f' when removing files to quite warnings. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
eb6329e
commit d8f3db1
Showing
4 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ xsdvalid: | |
$(PYTHON) xsdValid.py | ||
|
||
clean: | ||
-rm *.html | ||
-rm rep-0000.rst | ||
-rm -f *.html | ||
-rm -f rep-0000.rst | ||
|
||
upload: all | ||
rsync -r README.txt *.html mermaid.js css rep-0000.rst $(SUBDIRS) [email protected]:/var/www/www.ros.org/reps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/python | ||
|
||
import xmlschema | ||
|
||
format1 = xmlschema.XMLSchema('xsd/package_format1.xsd') | ||
|