aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-03 19:56:37 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-03 19:56:37 +0000
commit0e1bb3d40e6b36ca7f32f17cc66205f11a20bdb5 (patch)
tree706dad179d26d571c51d05ea939f42947b87bd30 /app
parent4a0fbced24f6b4431c90d9880288639fd489e42f (diff)
downloadslackbuilds-0e1bb3d40e6b36ca7f32f17cc66205f11a20bdb5.tar.gz
slackbuilds-0e1bb3d40e6b36ca7f32f17cc66205f11a20bdb5.tar.bz2
backupninja: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1495 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app')
-rwxr-xr-xapp/backup/backupninja/backupninja.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild
index 66259d99..4f971d9d 100755
--- a/app/backup/backupninja/backupninja.SlackBuild
+++ b/app/backup/backupninja/backupninja.SlackBuild
@@ -96,9 +96,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