Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
8a5ae84e
Commit
8a5ae84e
authored
Apr 16, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few $last_touch tweaks.
parent
59d2cd5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
patch-update
packaging/patch-update
+4
-4
No files found.
packaging/patch-update
View file @
8a5ae84e
...
...
@@ -51,7 +51,7 @@ if ($incl_generated_files) {
mkdir($tmp_dir, 0700) or die "Unable to mkdi
r
(
$tmp_dir
):
$!
\
n
";
system "
.
/config.status Makefile && make gen && rsync -a @extra_files $tmp_dir/mas
ter
/
" and exit 1;
}
my
$last_touch = time;
our
$last_touch = time;
my(%patches, %local_patch);
...
...
@@ -106,7 +106,7 @@ if ($incl_generated_files) {
system "
rm
-
rf
$tmp_dir
";
}
sleep 1
if $last_touch =
= time;
sleep 1
while $last_touch >
= time;
system "
git
checkout
$starting_branch
" and exit 1;
exit;
...
...
@@ -128,7 +128,7 @@ sub update_patch
print "
========
$patch
========\
n
";
sleep 1
if $incl_generated_files && $last_touch =
= time;
sleep 1
while $incl_generated_files && $last_touch >
= time;
if ($local_patch{$patch}) {
system "
git
checkout
patch
/
$patch
" and return 0;
} else {
...
...
@@ -156,7 +156,7 @@ sub update_patch
print
OUT
$description
{
$patch
},
"\n"
;
if
(
$incl_generated_files
)
{
system
"./config.status Makefile && make gen && rsync -a @extra_files $tmp_dir/$patch/"
;
system
"./config.status Makefile && make gen && rsync -a @extra_files $tmp_dir/$patch/"
and
exit
1
;
}
$last_touch
=
time
;
...
...
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