nmdc-log-service/scripts: fix wrong permissions on binary files inside tar archive

This commit is contained in:
mappu 2016-04-16 19:22:25 +12:00
parent c110403a0d
commit 5c4a1272c1

View File

@ -11,6 +11,7 @@ sanitise() {
local tmp=$(mktemp)
cat "$1" | perl -pe 's~C:.Users.......Documents.DEV.~C:/xxxxxxxxxxxxxxxxxxxxxxxxx/~g' > "$tmp"
mv "$tmp" "$1"
chmod 755 "$1"
}
main() {