Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 20 lines 592 B view raw
1--- eatmydata.in 2020-02-01 18:10:59.618679823 -0800 2+++ eatmydata.in.new 2020-02-01 18:08:25.092620247 -0800 3@@ -15,15 +15,8 @@ 4 # You should have received a copy of the GNU General Public License 5 # along with this program. If not, see <http://www.gnu.org/licenses/>. 6 7-export `dpkg-architecture|grep DEB_BUILD_MULTIARCH` 8- 9-shlib="/usr/lib/$DEB_BUILD_MULTIARCH/eatmydata.sh" 10-if [ -f "$shlib" ]; then 11- . "$shlib" 12-else 13- echo "Unable to locate eatmydata shell library, it was not enabled" >&2 14- exec "$@" 15-fi 16+shlib="NIX_OUT_DIR/libexec/eatmydata.sh" 17+. "$shlib" 18 19 usage() 20 {