Changeset 838 in openpam


Ignore:
Timestamp:
Nov 2, 2014, 1:47:08 PM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Make sure we package symlinks as well as files, but don't package .la files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkpkgng.in

    r832 r838  
    125125                gzip "$manpage"
    126126        done
     127        find $mandir -type l -name '*.[0-9]' |
     128        while read manlink ; do
     129                ln -s "$(readlink $manlink).gz" "$manlink.gz"
     130        done
    127131done
    128132
     
    151155(
    152156        echo "files: {"
    153         find -s "$tmproot@prefix@" -type f | while read file ; do
    154                 [ "$file" = "$manifest" ] && continue
     157        find -s "$tmproot@prefix@" -type f -or -type l | while read file ; do
     158                case $file in
     159                *.la)
     160                        continue
     161                        ;;
     162                esac
    155163                mode=$(stat -f%p "$file" | cut -c 3-)
    156164                file="${file#$tmproot}"
Note: See TracChangeset for help on using the changeset viewer.