check-files | check-files | |||
---|---|---|---|---|
#!/bin/sh | #!/bin/sh | |||
# | # | |||
# Gets file list on standard input and RPM_BUILD_ROOT as first parameter | # Gets file list on standard input and RPM_BUILD_ROOT as first parameter | |||
# and searches for omitted files (not counting directories). | # and searches for omitted files (not counting directories). | |||
# Returns it's output on standard output. | # Returns it's output on standard output. | |||
# | # | |||
# filon@pld.org.pl | # filon@pld.org.pl | |||
# at@altlinux.org | # at@altlinux.org | |||
RPM_BUILD_ROOT=$1 | RPM_BUILD_ROOT="$1" | |||
if ! cd "${RPM_BUILD_ROOT:?}"; then | if ! cd "${RPM_BUILD_ROOT:?}"; then | |||
cat >/dev/null | cat >/dev/null | |||
exit 1 | exit 1 | |||
fi | fi | |||
[ "$TMPDIR" ] || TMPDIR=/tmp | [ "$TMPDIR" ] || TMPDIR=/tmp | |||
FILES_DISK=`mktemp $TMPDIR/rpmXXXXXX` | FILES_DISK=`mktemp $TMPDIR/rpmXXXXXX` | |||
find . ! -type d -print | \ | find . ! -type d -print | \ | |||
sed -e 's:^./:/:' -e '/^\/dev\//d' | | sed -e 's:^./:/:' -e '/^\/dev\//d' | | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |