X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fcontrib%2Fmake-manifest;h=7e497c7c14ee29e2fc8e7d30e5da682b97d98595;hb=b200c0071dac48ca1576123c8fd3d72052425127;hp=0eb973575f29b64f8c1b537afc3780c187cf60ae;hpb=8d9cbd61ebf24c6800e781a723d4e8da1a5f0cd0;p=util-vserver.git diff --git a/util-vserver/contrib/make-manifest b/util-vserver/contrib/make-manifest index 0eb9735..7e497c7 100755 --- a/util-vserver/contrib/make-manifest +++ b/util-vserver/contrib/make-manifest @@ -21,11 +21,14 @@ name=$1 dest=$2 data=$3 -for i in $name-{core,devel,base,build,legacy,lib}.list; do +for i in $name-{core,devel,base,build,legacy,lib,sysv}.list; do echo '%defattr(-,root,root,-)' >$i done -cat $data | while read style file; do +sed -e "s!@CONFIG@!$MANIFEST_CONFIG!g; + s!@CONFIG_NOREPLACE@!$MANIFEST_CONFIG_NOREPLACE!g" \ + $data | \ +while read style file; do test "$file" || continue case "$style" in (\#*) continue;;