aboutsummaryrefslogtreecommitdiff
path: root/audio/pianobar/pianobar.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2014-01-06 22:33:46 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:07 -0600
commitdd9d44b2d0254e1021252dced6a72976458e60c3 (patch)
tree1bc2a6786aefbf68c61120ee0edd1ab90a7df5aa /audio/pianobar/pianobar.SlackBuild
parent444b06009b895f46fd68b21dedfbe2fbf33d0bbd (diff)
audio/pianobar: Permissions fix.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/pianobar/pianobar.SlackBuild')
-rw-r--r--audio/pianobar/pianobar.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/pianobar/pianobar.SlackBuild b/audio/pianobar/pianobar.SlackBuild
index 16f944188f40..68f7ee6d12ee 100644
--- a/audio/pianobar/pianobar.SlackBuild
+++ b/audio/pianobar/pianobar.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=pianobar
VERSION=${VERSION:-2013.09.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,8 +73,7 @@ cp -a COPYING README INSTALL ChangeLog contrib/config-example \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/example-scripts
cp -a contrib/*.sh contrib/headless_pianobar contrib/eventcmd-examples/ \
$PKG/usr/doc/$PRGNAM-$VERSION/example-scripts
-chmod -x $PKG/usr/doc/$PRGNAM-$VERSION/example-scripts/*
-chmod -x $PKG/usr/doc/$PRGNAM-$VERSION/example-scripts/eventcmd-examples/*
+find $PKG/usr/doc/$PRGNAM-$VERSION/example-scripts/ -type f -exec chmod -x '{}' \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install