#!/usr/bin/sh

################################################################################
# Copyright (C) 2015-2026 NICE s.r.l.
# All Rights Reserved
#
# This software is the confidential and proprietary information
# of NICE s.r.l. ("Confidential Information").
# You shall not disclose such Confidential Information
# and shall use it only in accordance with the terms of
# the license agreement you entered into with NICE.
################################################################################

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
libexecdir=/usr/libexec

DCV_PCSC_LIBRARY_PATH="${libdir}/dcv/pcsc"

usage() {
    echo
    echo "Usage: `basename $0` <app> [app arguments]"
    echo
    exit $1
}

if [ $# -eq 0 ]; then
    usage 0
fi

LD_LIBRARY_PATH="${DCV_PCSC_LIBRARY_PATH}:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH

exec ${1+"$@"}

# --------------------------------------------------------------------------- #
# ex: set ts=4 sw=4 et syntax=sh :
# --------------------------------------------------------------------------- #
