Package: schroot
Version: 1.2.2
Severity: wishlist
Sometimes I want to copy user specific files.
Instead of hardcoding the username in the respective copyfiles list,
I'd like to use ${AUTH_USER}.
With the attached patch, this works.
Detlef Vollmann
--- bin/schroot/setup/20copyfiles 2009-03-22 23:08:01.000000000 +0100
+++ bin/schroot/setup/20copyfiles.new 2009-05-16 19:51:45.000000000 +0200
@@ -70,6 +70,7 @@
if [ -n "$COPYFILES" ]; then
if [ -f "$COPYFILES" ]; then
while read file; do
+ file=`eval "echo $file"`
if echo "$file" | grep -q '^/'; then
copy_file "$file" "${CHROOT_PATH}$file"
else