summaryrefslogtreecommitdiff
path: root/system/i2c-tools/i2c-tools.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 21:11:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:31:35 -0500
commitb4f1a3e7ff0e77227030908554300b3f276dddd0 (patch)
treef23889a57c726be2f0fb732b3ed296bd924deefc /system/i2c-tools/i2c-tools.SlackBuild
parentab051bd3bcec2a438989434ccda0deb2b1cba4e1 (diff)
downloadslackbuilds-b4f1a3e7ff0e77227030908554300b3f276dddd0.tar.gz
system/i2c-tools: Fixed applying of patches
Diffstat (limited to 'system/i2c-tools/i2c-tools.SlackBuild')
-rw-r--r--system/i2c-tools/i2c-tools.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/i2c-tools/i2c-tools.SlackBuild b/system/i2c-tools/i2c-tools.SlackBuild
index 6073aa6d82..bc20374679 100644
--- a/system/i2c-tools/i2c-tools.SlackBuild
+++ b/system/i2c-tools/i2c-tools.SlackBuild
@@ -55,7 +55,7 @@ fi
DOCS="CHANGES COPYING README"
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -71,7 +71,7 @@ find . \
-exec chmod 644 {} \;
# Recommended patches
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
+for i in $CWD/patches/* ; do patch -p3 -i $i ; done
sed -i \
-e "s|/local||" \