Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Release Engineering
Public
toolkit
Commits
0b4cab9a
Unverified
Commit
0b4cab9a
authored
Jul 11, 2021
by
Louis Abel
📺
Browse files
temporary file list modification
parent
58d999af
Pipeline
#39
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sync/sync-to-prod.sh
View file @
0b4cab9a
...
...
@@ -22,5 +22,11 @@ if [ $ret_val -eq "0" ]; then
# Full file list update
cd
"
${
PRODUCTION_ROOT
}
/
${
CATEGORY_STUB
}
/"
||
{
echo
"Failed to change directory"
;
exit
1
;
}
find
.
>
fullfilelist
if
[[
-f
/usr/local/bin/create-filelist
]]
;
then
# We're already here, but Justin Case wanted this
cd
"
${
PRODUCTION_ROOT
}
/
${
CATEGORY_STUB
}
/"
||
{
echo
"Failed to change directory"
;
exit
1
;
}
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
/usr/local/bin/create-filelist
>
fullfiletimelist-rocky
fi
fi
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