Subject changed to: pub/packages directory structure
Andrew Hoying, 2001-07-18 12:08 -0600
>Forgot about the line wrapping of e-mail, and also cleaned up a few
>things I saw right as I hit send...
>
>That script should read:
Andrew,
I'm not very good at writing shell scripts, but I belive your modifications
give us version information also. I have one addition that I think makes
sense. Add "umask 220" before the first cd command. This will grantee the
correct permissions on the generated files.
Should we commit this shell script to the sf-admin CVS directory?
>#!/bin/sh
>
>cd $PACKAGES
>for i in *.lrp
>do
>tar xzf $i var/lib/lrpkg
>cd var/lib/lrpkg
>rootpkg=`echo $i|sed 's/.lrp//'`
>[ -f $rootpkg.version ] && mv $rootpkg.help \
> $rootpkg.`head -n1 $rootpkg.version`.help
>cd $PACKAGES
>done
>
>mv var/lib/lrpkg/*.help .
>rm -rf var/lib/lrpkg
>
>exit 0
--
Mike Noyes <[EMAIL PROTECTED]>
http://leaf.sourceforge.net/
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel