Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
alpine
alpine-conf
Commits
0e96ae68
Commit
0e96ae68
authored
Jun 15, 2008
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force UTC for backups
parent
5fc20afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lbu
lbu
+1
-1
No files found.
lbu
View file @
0e96ae68
...
...
@@ -339,7 +339,7 @@ cmd_commit() {
else
lines
=$(
ls
-
1
"$mnt"
/*.
apkovl
.
tar
.
gz
*
2
>/
dev
/
null
)
if
[
"$lines"
=
"$outfile"
];
then
local
d
=$(
date
-
r
"$outfile"
"+%Y%m%d%H%m%S"
)
local
d
=$(
date
-
u
-
r
"$outfile"
"+%Y%m%d%H%m%S"
)
local
backup
=$(
echo
"$outfile"
|
sed
"s/\.apkovl\.tar\.gz/.$d.tar.gz/"
)
vecho
"Creating backup $backup"
[
-
z
"$DRYRUN"
]
&&
mv
"$outfile"
"$backup"
...
...
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