From 0371e222c72447e4de2e4b6a8dc2129dd75a7b87 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 22:09:14 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce78cce..964f9ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,7 @@ RUN buildDeps=" \ && mkdir -p /usr/src/qbittorrent \ && tar -xzf qbittorrent.tar.gz -C /usr/src/qbittorrent --strip-components=1 \ && rm qbittorrent.tar.gz* \ - && export EXECINFO=$(grep -rne 'include ' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \ - && exec /bin/bash sed -i "$(EXECINFO)s/.*/" /usr/src/qbittorrent/src/app/main.cpp \ + && sed -i "$(grep -rne 'include ' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+')s/.*/" /usr/src/qbittorrent/src/app/main.cpp \ && export STACKTRACE=$(grep -rne 'include "stacktrace.h"' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \ && sed -i "$STACKTRACEs/.*/" /usr/src/qbittorrent/src/app/main.cpp \ && cd /usr/src/qbittorrent/ \