diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-12-19 17:32:59 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-12-19 17:32:59 +0000 |
commit | 80a1447fb038b246a7a7806f5138df3daccb842a (patch) | |
tree | b0df17a734e2294c01d657f824f5800d4d6a138c /scripts/ipkg-push | |
parent | 9e1c6372b60eb0a6acc6298ab33c49939ad299a5 (diff) | |
download | ptxdist-80a1447fb038b246a7a7806f5138df3daccb842a.tar.gz ptxdist-80a1447fb038b246a7a7806f5138df3daccb842a.tar.xz |
use correct quoting
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@3543 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/ipkg-push')
-rwxr-xr-x | scripts/ipkg-push | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ipkg-push b/scripts/ipkg-push index f21718fff..5e3ada69e 100755 --- a/scripts/ipkg-push +++ b/scripts/ipkg-push @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # # ipkg-push: push .ipk files to a packet repository site # @@ -62,12 +62,12 @@ done [ -d "$REPODIR" ] || usage "error: repository dir does not exist" [ -z "$PROJECT" ] && usage "error: specify a project name with --project" -if [ "`find $IPKTDIR -name *.ipk`" = "" ]; then - echo "no ipkg packets found" +if [ "`find $IPKGDIR -name "*.ipk"`" = "" ]; then + echo "no ipkg packets found in --ipkgdir $IPKGDIR" exit 0 fi -IPKG_PACKETS=`find $IPKGDIR -name *.ipk -exec basename \{} \;` +IPKG_PACKETS=`find $IPKGDIR -name "*.ipk" -exec basename \{} \;` SCRIPTDIR=`dirname $0` POOL=$REPODIR/$PROJECT/pool |