source: ProjectBuilder/projects/schroot/pbconf/devel/schroot/pbpatch/00-schroot-copyfiles-patch.mandriva@ 668

Last change on this file since 668 was 668, checked in by Bruno Cornec, 15 years ago
  • mdv needs another patch as stat is only under /bin not /usr/bin
File size: 535 bytes
Line 
1--- schroot-1.1.4/bin/schroot/setup/20copyfiles 2009-02-05 19:21:46.000000000 +0100
2+++ schroot-1.1.4-centos/bin/schroot/setup/20copyfiles 2009-02-05 19:21:37.000000000 +0100
3@@ -39,8 +39,8 @@
4 if [ -r "$2" ]; then
5
6 # Device and inode
7- da=$(/usr/bin/stat --format="%d %i" "$1")
8- db=$(/usr/bin/stat --format="%d %i" "$2")
9+ da=$(/bin/stat --format="%d %i" "$1")
10+ db=$(/bin/stat --format="%d %i" "$2")
11
12 # Content
13 ca=$(/usr/bin/md5sum "$1" | sed -e 's/\(^[0-9a-f][0-9a-f]*\).*$/\1/')
Note: See TracBrowser for help on using the repository browser.