summaryrefslogtreecommitdiffstats
path: root/scripts/ipkg-push
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-12-19 16:53:44 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-12-19 16:53:44 +0000
commitdbd0a3c7c4c18c85a3b768e66bc188710c09f3f7 (patch)
treef7c2d398fb0fc5f6e5ed602c9c52081c2f0b806d /scripts/ipkg-push
parentb07072ed1f99e3786691c4123226756d185538c4 (diff)
downloadptxdist-dbd0a3c7c4c18c85a3b768e66bc188710c09f3f7.tar.gz
ptxdist-dbd0a3c7c4c18c85a3b768e66bc188710c09f3f7.tar.xz
use exec instead of execdir; seems to be more portable
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@3540 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/ipkg-push')
-rwxr-xr-xscripts/ipkg-push4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ipkg-push b/scripts/ipkg-push
index 500951682..f21718fff 100755
--- a/scripts/ipkg-push
+++ b/scripts/ipkg-push
@@ -67,7 +67,7 @@ if [ "`find $IPKTDIR -name *.ipk`" = "" ]; then
exit 0
fi
-IPKG_PACKETS=`find $IPKGDIR -name *.ipk | xargs basename`
+IPKG_PACKETS=`find $IPKGDIR -name *.ipk -exec basename \{} \;`
SCRIPTDIR=`dirname $0`
POOL=$REPODIR/$PROJECT/pool
@@ -91,7 +91,7 @@ for packet in $IPKG_PACKETS; do
IPKG_REV_PACKET=`ptxd_ipkg_rev_packet $packet_split`
IPKG_REV="${IPKG_REV_UPSTREAM}${IPKG_REV_PACKET}"
IPKG_ARCH=`ptxd_ipkg_arch $packet_split`
- PACKETS_IN_POOL=`find $POOL -name ${IPKG_NAME}_${IPKG_REV}-*_${IPKG_ARCH}.ipk -execdir basename \{} \;`
+ PACKETS_IN_POOL=`find $POOL -name ${IPKG_NAME}_${IPKG_REV}-*_${IPKG_ARCH}.ipk -exec basename \{} \;`
cp -f $IPKGDIR/$packet $POOL/$packet