From e9a04579a0c8b342b25e552bf7b486d79f6c7e66 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jan 2012 13:30:11 -0500 Subject: Ensure correct modes on some files. --- (limited to 'src/oh-strip') 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. -- cgit v0.9.1