hi : i think i changed the script to make it work.. i ran it and no problem. i am attaching the new one here. please take a look. Paras. On 3/24/06, Paras pradhan <pradhanparas@gmail.com> wrote: > hi: > > it seems to be the correct one. > > i got the following error while trying to exec: > > move-installer-udebs.sh /udebs /sargecd > > where udebs is the directory containing udebs. > > i have changed || to | in the lines containg awk command but the error is: > > -- > sarge:/scripts# sh move-installer-udebs.sh /udebs/ /sargecd/ > Copying from /udebs/ to /sargecd/ > /udebs /scripts > awk: line 1: syntax error at or near : > Copying acpi-modules-2.6.15-1-486-di\__1.23\__i386.udeb to > /sargecd//pool/main/a/acpi-modules-2.6.15-1-486-di > awk: line 1: syntax error at or near : > Copying anna\__1.21\__i386.udeb to /sargecd//pool/main/a/anna > awk: line 1: syntax error at or near : > Copying archdetect\__1.33\__i386.udeb to /sargecd//pool/main/a/archdetect > awk: line 1: syntax error at or near : > Copying bogl-bterm-udeb\__0.1.18-1.4\__i386.udeb to > /sargecd//pool/main/b/bogl-bterm-udeb > awk: line 1: syntax error at or near : > Copying busybox-udeb\__1%3a1.01-4\__i386.udeb to > /sargecd//pool/main/b/busybox-udeb > awk: line 1: syntax error at or near : > Copying cdebconf-newt-udeb\__0.97\__i386.udeb to > /sargecd//pool/main/c/cdebconf-newt-udeb > awk: line 1: syntax error at or near : > Copying cdebconf-priority\__0.97\__all.udeb to /sargecd//pool/main/ > ---- > > there is some error in this line > > -- > pkgend=`dpkg -I $SRCDIR/$srcfile | awk '''Architecture: '' { print $2 }'` > --- > > > Please try to help on this as well. or any one can provide me the > working script. > > Paras. > > > > On 3/22/06, philagui <khaeos@khaeos.com> wrote: > > > > Hello, > > > > I think (but not sure) the right command is: find -name "*.udeb" -a -type f > > | sort > $TMPFILE > > > > Try that and tell us what it does. > > -- > > View this message in context: http://www.nabble.com/debian-cd-and-new-packages-t1316461.html#a3534848 > > Sent from the debian-custom forum at Nabble.com. > > > > > > -- > > To UNSUBSCRIBE, email to debian-custom-REQUEST@lists.debian.org > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > > > > >
Attachment:
new.sh
Description: Bourne shell script