aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2014-12-28 13:54:16 +0000
committerRobby Workman <rworkman@slackbuilds.org>2014-12-29 20:54:13 -0600
commit4dec1f213c82f9ace83a974d684a1835abbbcefa (patch)
tree3c8207fa3a94bfa29d8f06a0ca66e3abcdb52af5
parent6187371e8604df411f9f8f2688c000f98703d874 (diff)
rubygem-template.SlackBuild: Fix documentation copying.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--rubygem-template.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/rubygem-template.SlackBuild b/rubygem-template.SlackBuild
index 77826cc..3301f10 100644
--- a/rubygem-template.SlackBuild
+++ b/rubygem-template.SlackBuild
@@ -144,9 +144,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# to adjust your script as needed
# Also, include the SlackBuild script in the documentation directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- <documentation> \
- $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ <documentation>
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install