nmdc-log-service/scripts: fix wrong permissions on binary files inside tar archive
This commit is contained in:
parent
c110403a0d
commit
5c4a1272c1
1
build.sh
1
build.sh
@ -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