Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
335289a6
Commit
335289a6
authored
May 26, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5339
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
d0555060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
+2
-1
No files found.
targets/PROJECTS/GENERIC-LTE-EPC/utils.bash
View file @
335289a6
...
...
@@ -212,7 +212,8 @@ rotate_log_file () {
fi
FILENAME_NO_EXT
=
$(
echo
"
$FILENAME
"
|
sed
's/\.[^\.]*$//'
)
TIMESTAMP
=
`
date
+%Y-%m-%d.%Hh_%Mm_%Ss
`
# use file last modification time
TIMESTAMP
=
`
date
-r
$FULLPATH
+%Y-%m-%d.%Hh_%Mm_%Ss
`
NEWLOGFILE
=
$TIMESTAMP
.
$FILENAME_NO_EXT
.
$FILEEXTENSION
mv
$FULLPATH
/tmp/
$NEWLOGFILE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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