X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pkginfo-cross;h=69c795acb734722a9dda548a401e50d11f449a90;hb=58e4c4e5d6198eff7f552cc48b1704c14f42a2e9;hp=3054c3adb2a7967a890ae636e74197838497daa9;hpb=b652593c3a2c4a96f1d80aacaf3d75f31138d90b;p=pkgutils-cross.git diff --git a/pkginfo-cross b/pkginfo-cross index 3054c3a..69c795a 100755 --- a/pkginfo-cross +++ b/pkginfo-cross @@ -4,7 +4,7 @@ TOPDIR="$(cd $(dirname $(which $0)); pwd)" PKGINFO=$TOPDIR/pkginfo -PKGMK_CONF=$TOPDIR/src/pkgmk.conf +PKGMK_CONF=$TOPDIR/pkgmk-cross.conf . $PKGMK_CONF if [ -z "$CLFS" ]; then @@ -13,6 +13,11 @@ if [ -z "$CLFS" ]; then exit 1 fi -$PKGINFO -r $CLFS $@ +if [ -x $PKGINFO ]; then + $PKGINFO -r $CLFS $@ +else + ln -s pkgadd $PKGINFO + $PKGINFO -r $CLFS $@ +fi # End of file