Use "find |sort" instead of "find -s" -- the latter isn't POSIX.
This commit is contained in:
parent
92a6915f63
commit
64863e99af
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# $NetBSD: makesrctars,v 1.18 2004/05/09 13:46:00 lukem Exp $
|
||||
# $NetBSD: makesrctars,v 1.19 2005/05/22 03:05:15 lukem Exp $
|
||||
#
|
||||
# makesrctars srcdir setdir
|
||||
# Create source tarballs in setdir from the source under srcdir.
|
||||
@ -59,9 +59,10 @@ makeset()
|
||||
shift
|
||||
echo "Creating ${set}"
|
||||
set -f
|
||||
find -s $* \
|
||||
find $* \
|
||||
! \( \( -name obj -o -name 'obj.*' \) \( -type l -o -type d \) -prune \) \
|
||||
-print \
|
||||
| sort \
|
||||
| ${PAX} -w -d -s'|^\.|'${srcprefix}'|' \
|
||||
| gzip \
|
||||
> "${setdir}/${set}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user