aboutsummaryrefslogtreecommitdiff
path: root/others/generic
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-01-28 17:34:29 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-01-28 17:34:29 +0000
commite1e6b23e6671cdf446862bad3c710443634ce4b0 (patch)
tree2cff8b626bfdbedc56b0dac8e5627d3f5f8f2e78 /others/generic
parentf46c8404bc777d0d0eda2da28ffb2064ef889843 (diff)
downloadslackbuilds-e1e6b23e6671cdf446862bad3c710443634ce4b0.tar.gz
slackbuilds-e1e6b23e6671cdf446862bad3c710443634ce4b0.tar.bz2
Consertando detalhes no template generico (v0.3.1)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@994 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'others/generic')
-rwxr-xr-xothers/generic/generic.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild
index 17389148..582a9c6f 100755
--- a/others/generic/generic.SlackBuild
+++ b/others/generic/generic.SlackBuild
@@ -1,7 +1,7 @@
################################################
## Generic template for SlackBuilds
##
-## Version 0.3 - Luis
+## Version 0.3.1 - Luis
##
################################################
#!/bin/bash
@@ -86,9 +86,10 @@ fi
gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG
# Untar, patch, configure, compile and install
-tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" -C "$SRC_DIR" || exit $ERROR_TAR
+cd "$SRC_DIR"
+tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
cd "$PKG_SRC"
-patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < $CWD/[[PATCH FILE]]
+patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/[[PATCH FILE]]"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \