summaryrefslogtreecommitdiffstats
path: root/ruby
diff options
context:
space:
mode:
author dsomero2013-11-22 08:37:19 +0100
committer dsomero2013-11-22 08:37:19 +0100
commitd0c108251ae79dcfec055e5a51799df8cbbd955a (patch)
treee90ffe949fc88136e61418e7738c9f173230d6e6 /ruby
parent687c78d5604ce299d5164ffd69de88f2dd10fefc (diff)
downloadslackbuilds-d0c108251ae79dcfec055e5a51799df8cbbd955a.tar.gz
various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r--ruby/facter/facter.SlackBuild4
-rw-r--r--ruby/gem2tgz/gem2tgz.SlackBuild4
-rw-r--r--ruby/ruby-gtk2/ruby-gtk2.SlackBuild4
-rw-r--r--ruby/rubygems-update/rubygems-update.SlackBuild4
4 files changed, 8 insertions, 8 deletions
diff --git a/ruby/facter/facter.SlackBuild b/ruby/facter/facter.SlackBuild
index c8b08e5599..9fbdda570e 100644
--- a/ruby/facter/facter.SlackBuild
+++ b/ruby/facter/facter.SlackBuild
@@ -63,8 +63,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
diff --git a/ruby/gem2tgz/gem2tgz.SlackBuild b/ruby/gem2tgz/gem2tgz.SlackBuild
index 8882903293..b13b5beeae 100644
--- a/ruby/gem2tgz/gem2tgz.SlackBuild
+++ b/ruby/gem2tgz/gem2tgz.SlackBuild
@@ -26,8 +26,8 @@ cd $TMP
tar xvf $CWD/$SRCNAM
cd $PRGNAM-$VERSION
chown -R root.root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
diff --git a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
index 366d2464a4..6ae7521d12 100644
--- a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
+++ b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
@@ -31,8 +31,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
diff --git a/ruby/rubygems-update/rubygems-update.SlackBuild b/ruby/rubygems-update/rubygems-update.SlackBuild
index b78be4a2f3..7a8686f863 100644
--- a/ruby/rubygems-update/rubygems-update.SlackBuild
+++ b/ruby/rubygems-update/rubygems-update.SlackBuild
@@ -66,8 +66,8 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tgz
cd $SRCNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;