forked from mfulz_github/qmk_firmware
Remove space padding on the current time when automatically generating AVR Studio 4 project creation/modification timestamps.
This commit is contained in:
parent
e24993c13a
commit
0b262c569f
|
@ -32,7 +32,7 @@ make-as4-projects:
|
||||||
@for project_makefile in `find $(LUFA_ROOT)/Demos $(LUFA_ROOT)/Projects $(LUFA_ROOT)/Bootloaders -name makefile*`; do \
|
@for project_makefile in `find $(LUFA_ROOT)/Demos $(LUFA_ROOT)/Projects $(LUFA_ROOT)/Bootloaders -name makefile*`; do \
|
||||||
target_name=`grep "TARGET *=" $$project_makefile | cut -d'=' -f2 | sed 's/ //g'`; \
|
target_name=`grep "TARGET *=" $$project_makefile | cut -d'=' -f2 | sed 's/ //g'`; \
|
||||||
target_folder=`dirname $$project_makefile`; \
|
target_folder=`dirname $$project_makefile`; \
|
||||||
as4_date=`date "+%e-%b-%Y %H:%M:%S"`; \
|
as4_date=`date "+%-e-%b-%Y %-H:%-M:%-S"`; \
|
||||||
\
|
\
|
||||||
if ( test -n "$$target_name" ); then \
|
if ( test -n "$$target_name" ); then \
|
||||||
echo Creating AS4 project for project $$target_name; \
|
echo Creating AS4 project for project $$target_name; \
|
||||||
|
|
Loading…
Reference in New Issue