Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
1632fc38
Commit
1632fc38
authored
Jan 24, 2019
by
Yann Garcia
Browse files
Merge request: Change Request on update_its_project.bash
parent
3d9dfa82
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/update_its_project.bash
View file @
1632fc38
...
...
@@ -12,22 +12,27 @@ OLDPWD=`pwd`
# Execution path
RUN_PATH
=
"
${
0
%/*
}
"
if
[
"
${
VALIDATION_DIR
}
"
==
""
]
then
VALIDATION_DIR
=
${
HOME
}
fi
CHOWN_USER_GROUP
=
${
USER
}
:
${
USER
}
SRC_ITS_PATH
=
${
HOME
}
/dev/STF525_Its
if
[
"
${
PATH_DEV_ITS
}
"
==
""
]
if
[
-d
${
PATH_DEV_ITS
}
]
then
PATH_DEV_ITS
=
`
pwd
`
/../etsi_its
fi
if
[
-d
${
PATH_DEV_ITS
}
]
then
if
[
-f
${
HOME
}
/tmp/etsi_its.tar.bz2
]
if
[
-f
${
VALIDATION_DIR
}
/tmp/etsi_its.tar.bz2
]
then
mv
${
HOME
}
/tmp/etsi_its.tar.bz2
${
HOME
}
/tmp/etsi_its.tar.
`
date
+
'%Y%m%d'
`
.bz2
mv
${
VALIDATION_DIR
}
/tmp/etsi_its.tar.bz2
${
HOME
}
/tmp/etsi_its.tar.
`
date
+
'%Y%m%d'
`
.bz2
fi
find
${
PATH_DEV_ITS
}
-name
"*.o"
-exec
rm
{}
\;
tar
jhcvf
${
HOME
}
/tmp/etsi_its.tar.bz2
${
PATH_DEV_ITS
}
tar
jhcvf
${
VALIDATION_DIR
}
/tmp/etsi_its.tar.bz2
${
PATH_DEV_ITS
}
rm
-fr
${
PATH_DEV_ITS
}
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment