Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a8bf8b3c199d1c87016dabe79fd1f2090f1b19b8)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a8bf8b3c199d1c87016dabe79fd1f2090f1b19b8)
  • Date: Sat, 9 Jan 2016 09:36:14 +0000

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 3 +++
usr/sbin/alter | 4 ++--
var/lib/sorcery/modules/libcodex | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit a8bf8b3c199d1c87016dabe79fd1f2090f1b19b8
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

alter, libcodex: fixed find's subtle semantic break as of 4.5.11

diff --git a/ChangeLog b/ChangeLog
index 3f4b598..18d27b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-01-09 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * alter, libcodex: fixed find's subtle semantic break as of 4.5.11
+
2015-10-03 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtablet: also ignore smgl-strip and prelink wrt version cache
* and print the problematic spells for easier use and debugging
diff --git a/usr/sbin/alter b/usr/sbin/alter
index e356b17..abd39f2 100755
--- a/usr/sbin/alter
+++ b/usr/sbin/alter
@@ -229,7 +229,7 @@ function alter_gather_bins() {

if [ ! -f "/etc/prelink.conf" ]; then
message "${MESSAGE_COLOR}Gathering binary directories for altering (this
could take a long while)...${DEFAULT_COLOR}"
- find / -perm +001 2> /dev/null |
+ find / -perm -001 2> /dev/null |
while read LINE; do
[ ! -h "$LINE" ] && file $LINE 2> /dev/null |
grep -q ELF && echo "$LINE"
@@ -284,7 +284,7 @@ function alter_strip_all_do() {
alter_gather_bins

alter_alter -n smgl-strip '
- find $(cat /etc/prelink.conf) -perm +001 2> /dev/null |
+ find $(cat /etc/prelink.conf) -perm -001 2> /dev/null |
while read LINE; do
[ ! -h "$LINE" ] && file $LINE 2> /dev/null |
grep -q ELF && echo "$LINE"
diff --git a/var/lib/sorcery/modules/libcodex
b/var/lib/sorcery/modules/libcodex
index 70a6dca..aaa8cf6 100755
--- a/var/lib/sorcery/modules/libcodex
+++ b/var/lib/sorcery/modules/libcodex
@@ -922,7 +922,7 @@ function codex_create_in_memory_cache_all() {
##
#---------------------------------------------------------------------
function codex_find_in_grimoire () {
- find "$1" -follow -maxdepth 3 -mindepth 3 -perm +700 -name "$2"
+ find "$1" -follow -maxdepth 3 -mindepth 3 -perm /700 -name "$2"
}

#---------------------------------------------------------------------



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a8bf8b3c199d1c87016dabe79fd1f2090f1b19b8), Jaka Kranjc, 01/09/2016

Archive powered by MHonArc 2.6.24.

Top of Page