Blame checkfilesnoinfodir.diff
|
Bernhard M. Wiedemann |
1250f9 |
Exclude /usr/share/info/dir from check-files. Probably only
|
|
Bernhard M. Wiedemann |
1250f9 |
interesting for SUSE.
|
|
Bernhard M. Wiedemann |
1250f9 |
|
|
Bernhard M. Wiedemann |
1250f9 |
--- scripts/check-files.orig 2013-06-10 15:55:10.000000000 +0000
|
|
Bernhard M. Wiedemann |
1250f9 |
+++ scripts/check-files 2013-07-12 11:45:37.000000000 +0000
|
|
Bernhard M. Wiedemann |
1250f9 |
@@ -28,5 +28,5 @@ trap "rm -f \"${FILES_DISK}\"" 0 2 3 5 1
|
|
Bernhard M. Wiedemann |
1250f9 |
# Find non-directory files in the build root and compare to the manifest.
|
|
Bernhard M. Wiedemann |
1250f9 |
# TODO: regex chars in last sed(1) expression should be escaped
|
|
Bernhard M. Wiedemann |
1250f9 |
find "${RPM_BUILD_ROOT}" -type f -o -type l | LC_ALL=C sort > "${FILES_DISK}"
|
|
Bernhard M. Wiedemann |
1250f9 |
-LC_ALL=C sort | diff -d "${FILES_DISK}" - | sed -n 's|^< '"${RPM_BUILD_ROOT}"'\(.*\)$| \1|gp'
|
|
Bernhard M. Wiedemann |
1250f9 |
+LC_ALL=C sort | diff -d "${FILES_DISK}" - | sed -n -e 's|^< '"${RPM_BUILD_ROOT}"'/usr/share/info/dir$||' -e 's|^< '"${RPM_BUILD_ROOT}"'\(.*\)$| \1|gp'
|
|
Bernhard M. Wiedemann |
1250f9 |
|