Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
77d0ab67
Commit
77d0ab67
authored
Mar 06, 2015
by
gsell
Browse files
scripts/Bootstrap/Pmodules/modmanage.in: bugfixes in dry-run of init
parent
ee4ac2a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/Bootstrap/Pmodules/modmanage.in
scripts/Bootstrap/Pmodules/modmanage.in
+2
-2
No files found.
scripts/Bootstrap/Pmodules/modmanage.in
View file @
77d0ab67
...
...
@@ -101,7 +101,7 @@ sync_module() {
local
-r
rel_module_prefix
=
$(
get_module_prefix
"
${
rel_modulefile
}
"
)
local
-r
rel_releasefile
=
$(
get_releasefile_name
"
${
rel_modulefile
}
"
)
mkdir
-p
"
${
target_prefix
}
/
${
rel_module_prefix
}
"
||
return
$?
$DRY
mkdir
-p
"
${
target_prefix
}
/
${
rel_module_prefix
}
"
||
return
$?
$DRY
rsync
--links
--perms
--recursive
--delete
\
"
${
src_prefix
}
/
${
rel_module_prefix
}
/"
\
"
${
target_prefix
}
/
${
rel_module_prefix
}
/"
||
return
$?
...
...
@@ -113,7 +113,7 @@ sync_module() {
if
[[
-e
"
${
src_modulefile
}
"
]]
||
[[
-e
"
${
src_releasefile
}
"
]]
;
then
local dir
=
$(
dirname
"
${
target_modulefile
}
"
)
mkdir
-p
"
${
dir
}
"
||
return
$?
$DRY
mkdir
-p
"
${
dir
}
"
||
return
$?
fi
if
[[
-e
"
${
src_modulefile
}
"
]]
;
then
$DRY
rsync
--links
--perms
--recursive
\
...
...
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