summaryrefslogtreecommitdiffstats
path: root/server/export_target
diff options
context:
space:
mode:
Diffstat (limited to 'server/export_target')
-rwxr-xr-xserver/export_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/export_target b/server/export_target
index d930b8ee..33e06ad2 100755
--- a/server/export_target
+++ b/server/export_target
@@ -102,7 +102,7 @@ generate_config() {
for FILE in $(find . -type f | cut -c 3-); do
# check for all the archives we find in TARGET_CONFIG_BUILD_DIR
for ARCHIV in $(ls "${TARGET_CONFIG_BUILD_DIR}/"*.tar 2>/dev/null); do
- if [ "x$(tar tvf "${ARCHIV}" | grep "$FILE")" != "x" ]; then
+ if [ "x$(tar tvf "${ARCHIV}" | grep -E "${FILE}$")" != "x" ]; then
# name of the module in conflict
local CONFLICTING_MODULE="$(basename ${ARCHIV%.tar})"
# file is present in archiv