aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-lib b/src/cpt-lib
index 50d8daf..0fe3d92 100644
--- a/src/cpt-lib
+++ b/src/cpt-lib
@@ -752,7 +752,7 @@ pkg_build() {
cp -LRf "$repo_dir" "$pkg_dir/$pkg/$pkg_db/"
# Copy the modified build file to the package directory.
- diff "$pkg_dir/$pkg/$pkg_db/build" .build.cpt > "$pkg_dir/$pkg/$pkg_db/build" > "$pkg_dir/$pkg/$pkg_db/build.diff"
+ diff "$pkg_dir/$pkg/$pkg_db/build" .build.cpt > "$pkg_dir/$pkg/$pkg_db/build.diff"
[ -s "$pkg_dir/$pkg/$pkg_db/build.diff" ] || rm -f "$pkg_dir/$pkg/$pkg_db/build.diff"
# We never ever want this. Let's end the endless conflicts