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
e8db3871
Verified
Commit
e8db3871
authored
Jul 21, 2021
by
Louis Abel
📺
Browse files
commented hardlink - add later
parent
b077152f
Pipeline
#48
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
sync/sync-to-prod.sh
View file @
e8db3871
...
...
@@ -21,6 +21,8 @@ if [ $ret_val -eq "0" ]; then
# Full file list update
cd
"
${
PRODUCTION_ROOT
}
/
${
CATEGORY_STUB
}
/"
||
{
echo
"Failed to change directory"
;
exit
1
;
}
# Hardlink everything except xml files
#hardlink -x '.*\.xml.*' "${REVISION}"
find
.
>
fullfilelist
if
[[
-f
/usr/local/bin/create-filelist
]]
;
then
# We're already here, but Justin Case wanted this
...
...
@@ -28,5 +30,6 @@ if [ $ret_val -eq "0" ]; then
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
/usr/local/bin/create-filelist
>
fullfiletimelist-rocky
fi
chown
10004:10005 fullfilelist fullfiletimelist-rocky
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