summaryrefslogtreecommitdiffstats
path: root/src/oh-strip
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-28 13:30:11 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-28 13:30:11 (EST)
commite9a04579a0c8b342b25e552bf7b486d79f6c7e66 (patch)
tree5ec1382118dc10ae0d3f8213a84ba63b34b167a9 /src/oh-strip
parentdf86f19aa14170892d02f5532e827d146dd651ec (diff)
Ensure correct modes on some files.
Diffstat (limited to 'src/oh-strip')
-rw-r--r--src/oh-strip1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oh-strip b/src/oh-strip
index afc4805..86e59b9 100644
--- a/src/oh-strip
+++ b/src/oh-strip
@@ -74,6 +74,7 @@ while [ ${#} -gt 0 ]; do
# from the original object file to the debugging object file.
objcopy --only-keep-debug "dest/${1}" "dest/usr/lib/debug/${1}"
objcopy --add-gnu-debuglink="/usr/lib/debug/${1}" "dest/${1}"
+ chmod 644 "dest/usr/lib/debug/${1}"
fi
# Strip the object file of symbols.
# TODO: If the file is not a library, strip it of all symbols.