use new chroot-cat CLI
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 19 May 2005 18:16:57 +0000 (18:16 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 19 May 2005 18:16:57 +0000 (18:16 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2098 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/pkgmgmt

index 0db4263..3cf380f 100755 (executable)
@@ -101,7 +101,7 @@ function _hashAuto()
        $_SED -e "s|^\([^$hash].*@autogenerated@\)|$hash$hash\1|" >$tmp
 
     $_CAT $tmp | $_EXEC_CD "$dir" "$(which cmp)" -s - "$file" || \
-       $_CHROOT_CAT "$1" <$tmp
+       $_CHROOT_CAT -o "$1" <$tmp
 
     $_RM -f $tmp
 }