CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified again pkg*-cross scripts for being compatible with upstream branch sources
[pkgutils-cross.git]
/
pkginfo-cross
diff --git
a/pkginfo-cross
b/pkginfo-cross
index c971de022244f6380899bffa276efcc455671986..201c58088aa08d098ab523d90fadf6aa47828d56 100755
(executable)
--- a/
pkginfo-cross
+++ b/
pkginfo-cross
@@
-2,9
+2,9
@@
TOPDIR="$(cd $(dirname $(which $0)); pwd)"
TOPDIR="$(cd $(dirname $(which $0)); pwd)"
-PKGINFO=$TOPDIR/
src/
pkginfo
+PKGINFO=$TOPDIR/pkginfo
-PKGMK_CONF=$TOPDIR/
src/pkgmk
.conf
+PKGMK_CONF=$TOPDIR/
pkgmk-cross
.conf
. $PKGMK_CONF
if [ -z "$CLFS" ]; then
. $PKGMK_CONF
if [ -z "$CLFS" ]; then
@@
-13,6
+13,11
@@
if [ -z "$CLFS" ]; then
exit 1
fi
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
# End of file