diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-11-11 09:13:05 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-11 10:53:36 -0600 |
commit | 8a720b7565ebb622a1c75889a9266eb31f3f1305 (patch) | |
tree | dee479bddefca7ee732eac31503e5e512e5d34a5 /network/sniffjoke | |
parent | 192892025092432f653c2c3c8f8ccbadc381d7ee (diff) |
various: fixes for new templates (find/fixperms)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/sniffjoke')
-rw-r--r-- | network/sniffjoke/sniffjoke.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/sniffjoke/sniffjoke.SlackBuild b/network/sniffjoke/sniffjoke.SlackBuild index 0e996c1485300..3210eccb5fe6a 100644 --- a/network/sniffjoke/sniffjoke.SlackBuild +++ b/network/sniffjoke/sniffjoke.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=sniffjoke VERSION=${VERSION:-0.4.2_aa2a003} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,11 +67,11 @@ rm -rf $SRCNAM-$GITSRCVERSION tar xvf $CWD/$SRCNAM-$GITSRCVERSION.tar.gz cd $SRCNAM-$GITSRCVERSION chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -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 {} \; +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Unfortunately most options for destination directories are not # available so we have to manually replace some values before cmake. |