From 22405ed2c12624a6353536f6248fdb5c1e7379e5 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 11 Aug 2020 17:17:38 +0000 Subject: pkg_build: fix diff FossilOrigin-Name: 86fe61aadd5e081c1c1915b4f90b8906e425ea02a4e91e6eb3d17151e0d3fb0a --- src/cpt-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpt-lib') diff --git a/src/cpt-lib b/src/cpt-lib index 1d77016..7e2a0fb 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/build" .build.cpt > "$pkg_dir/$pkg/$pkg_db/build" > "$pkg_dir/$pkg/$pkg_db/build.diff" + diff "$pkg_dir/$pkg/build" .build.cpt > "$pkg_dir/$pkg/$pkg_db/build" > "$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 -- cgit v1.2.3