aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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