|
|
@ -2,10 +2,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
[ $# -lt 1 ] && echo "Usage: `basename $0` %{buildroot}%{ghclibdir} ..." && exit 1
|
|
|
|
[ $# -lt 1 ] && echo "Usage: `basename $0` %{buildroot}%{ghclibdir} ..." && exit 1
|
|
|
|
|
|
|
|
|
|
|
|
set +x
|
|
|
|
set +x -e
|
|
|
|
|
|
|
|
|
|
|
|
PKGBASEDIR=$1
|
|
|
|
PKGBASEDIR=$1
|
|
|
|
shift
|
|
|
|
shift
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d $PKGBASEDIR/lib ];
|
|
|
|
if [ -d $PKGBASEDIR/lib ];
|
|
|
|
then PKGCONFDIR=$PKGBASEDIR/lib/package.conf.d
|
|
|
|
then PKGCONFDIR=$PKGBASEDIR/lib/package.conf.d
|
|
|
|
else PKGCONFDIR=$PKGBASEDIR/package.conf.d
|
|
|
|
else PKGCONFDIR=$PKGBASEDIR/package.conf.d
|
|
|
|