diff options
author | jlam <jlam> | 2006-03-30 03:03:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-30 03:03:52 +0000 |
commit | 97a47f6eaea81fde18ef5bceee27d0b1fe17d086 (patch) | |
tree | 8e9c6938523bac40289c3bdece477623285c9e13 /mk/plist | |
parent | 1e5a5931a5030d6715dbe56e6e6325f45294ddf7 (diff) | |
download | pkgsrc-97a47f6eaea81fde18ef5bceee27d0b1fe17d086.tar.gz |
Whitespace changes.
Diffstat (limited to 'mk/plist')
-rwxr-xr-x | mk/plist/libtool-expand | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mk/plist/libtool-expand b/mk/plist/libtool-expand index 6f0c72af686..482d90c351f 100755 --- a/mk/plist/libtool-expand +++ b/mk/plist/libtool-expand @@ -1,6 +1,6 @@ # /bin/sh # -# $NetBSD: libtool-expand,v 1.2 2006/03/30 03:02:40 jlam Exp $ +# $NetBSD: libtool-expand,v 1.3 2006/03/30 03:03:52 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -76,18 +76,18 @@ do continue fi - if ${GREP} -q "libtool library file" "$lapath"; then - . "$lapath" - if ${TEST} "$installed" = "no"; then - ${ECHO} 1>&2 "$self: \`$lapath' was not properly installed" - exit 1 - fi - for lib in $library_names $old_library; do - libpath="$dir$lib" - if ${TEST} ! -f "$libpath"; then - ${ECHO} 1>&2 "$self: \`$libpath' was not found" - fi - ${ECHO} "$libpath" - done + if ${GREP} -q "libtool library file" "$lapath"; then + . "$lapath" + if ${TEST} "$installed" = "no"; then + ${ECHO} 1>&2 "$self: \`$lapath' was not properly installed" + exit 1 fi + for lib in $library_names $old_library; do + libpath="$dir$lib" + if ${TEST} ! -f "$libpath"; then + ${ECHO} 1>&2 "$self: \`$libpath' was not found" + fi + ${ECHO} "$libpath" + done + fi done | ${SORT} -u |