diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-09-13 18:21:19 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-09-13 18:21:19 +0000 |
commit | 0a7f52b2cbfa98e231f3c0de07aa051a4fdecd9e (patch) | |
tree | 586a7810e8a427bb3cf45a9069220034421af2ec /dev/libs/cdk/cdk.SlackBuild | |
parent | de8261650a8537435540997b01bc5679f53a0f31 (diff) | |
download | slackbuilds-0a7f52b2cbfa98e231f3c0de07aa051a4fdecd9e.tar.gz slackbuilds-0a7f52b2cbfa98e231f3c0de07aa051a4fdecd9e.tar.bz2 |
cdk: small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1377 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/libs/cdk/cdk.SlackBuild')
-rwxr-xr-x | dev/libs/cdk/cdk.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/libs/cdk/cdk.SlackBuild b/dev/libs/cdk/cdk.SlackBuild index dcd31f85..8a6ff95d 100755 --- a/dev/libs/cdk/cdk.SlackBuild +++ b/dev/libs/cdk/cdk.SlackBuild @@ -86,7 +86,7 @@ fi # Untar cd "$TMP" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR -cd "$PKG_SRC" +cd "$TMP/$SRC_NAME-$SRC_VERSION.orig" # Patch source patches="[[PATCH FILES]] @@ -94,9 +94,9 @@ patches="[[PATCH FILES]] $PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff" for patch in $patches; do if [ -f "$CWD/$patch" ]; then - patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/$patch" || exit $ERROR_PATCH + patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH elif [ -f "$CWD/patches/$patch" ]; then - patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/patches/$patch" || exit $ERROR_PATCH + patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH fi done |