#!/bin/sh # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2007 Red Hat, Inc. # All rights reserved. # # License: GPL (version 3 or any later version). # See LICENSE for details. # END COPYRIGHT BLOCK ################################################################################ # # FILE: cl-dump # # wrapper for cl-dump.pl # set the library paths and call cl-dump.pl libpath_add() { [ -z "$1" ] && return LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$1 } libpath_add "@nss_libdir@" libpath_add "/usr/lib" SHLIB_PATH=$LD_LIBRARY_PATH export LD_LIBRARY_PATH SHLIB_PATH @bindir@/cl-dump.pl "$@"