X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?p=util-vserver.git;a=blobdiff_plain;f=contrib%2Fmake-manifest;fp=contrib%2Fmake-manifest;h=fd418f2fbf7efa8a2102f6ca5335cb303b68fafb;hp=fd0d7b28fd88dd0ae8baf89d3b8f6f739f8f77cd;hb=1bd485daf1544e9b7b9bf020783f6aa0b0085c0b;hpb=ac4d122e9996a9a1d634b9bccd43dceae1e851bf diff --git a/contrib/make-manifest b/contrib/make-manifest index fd0d7b2..fd418f2 100755 --- a/contrib/make-manifest +++ b/contrib/make-manifest @@ -33,5 +33,8 @@ while read style file; do case "$style" in (\#*) continue;; esac - echo "$file" >>$name-$style.list + if test "${file%/}" != "$file"; then + echo -n '%dir ' + fi + echo "${file%/}" >>$name-$style.list done