nmdc-log-service/scripts: fix wrong permissions on binary files inside tar archive
This commit is contained in:
parent
a287b3adcc
commit
15455ff031
@ -11,6 +11,7 @@ sanitise() {
|
|||||||
local tmp=$(mktemp)
|
local tmp=$(mktemp)
|
||||||
cat "$1" | perl -pe 's~C:.Users.......Documents.DEV.~C:/xxxxxxxxxxxxxxxxxxxxxxxxx/~g' > "$tmp"
|
cat "$1" | perl -pe 's~C:.Users.......Documents.DEV.~C:/xxxxxxxxxxxxxxxxxxxxxxxxx/~g' > "$tmp"
|
||||||
mv "$tmp" "$1"
|
mv "$tmp" "$1"
|
||||||
|
chmod 755 "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user