Skip to content
Snippets Groups Projects
Commit 692c3fba authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Fix script

The script contained two problems. The first one was a typo in the shebang.
The second problem was in the grep command. If the full path includes by
chance the string "so" or "dylib" all files of the directory were found
accidentally. Requiring "so" or "dylib" to be at the end of the line fixes
the error.
parent c056e2ce
No related branches found
No related tags found
1 merge request!620Add new test stage in CTest configuration. Refs #2293, #2339
#!bin/bash
#!/bin/bash
# Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
# SPDX-License-Identifier: GPL-3.0-only
# First commited by Florian Uhlig
......@@ -13,7 +13,7 @@ LIBDIR=${2:-../lib}
# find all libs
# libraries are real files with the extensions .so and for macosx .dylib
all_libs=$(find $LIBDIR -type f | grep -e \.dylib -e \.so)
all_libs=$(find $LIBDIR -type f | grep -e \.dylib$ -e \.so$)
tmpfile=$(mktemp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment