mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
one more fix...
This commit is contained in:
parent
f2baef8d81
commit
14d0e3d8a9
@ -16,12 +16,14 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Retro68. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
shopt -s nullglob
|
||||
|
||||
function locateInterfaceThing()
|
||||
{
|
||||
local varname=$1
|
||||
local name=$2
|
||||
printf "Searching for %-25s" "$name..."
|
||||
local found=`find "$INTERFACES_DIR"/ -name ".*" -prune -o -name $name -print`
|
||||
local found=`find -L "$INTERFACES_DIR"/ -name ".*" -prune -o -name $name -print`
|
||||
if [ -n "$found" ]; then
|
||||
eval "$varname=\$found"
|
||||
echo ${found#$INTERFACES_DIR/}
|
||||
|
Loading…
Reference in New Issue
Block a user