execute()
{
log "$" $@
- $@ 2>&1 | tee -a ../quilt-import.log
+ "$@" 2>&1 | tee -a ../quilt-import.log
}
quilters=$(grep -v '^#' ../real_control | awk -F ' ' '$2=="quilt" { print $3; }')
[ -f "$sfile.orig" ] && mv -f $sfile.orig $sfile
exit 1
}
-# author=$(grep -v '^#' ../real_control | awk -F ' ' '$3=="'"$name"'" { printf("%s", $1); }' | sed 's/,.*$//')
- execute git quiltimport --patches "../quilt/$name" || sh -i || {
+ author=$(grep -v '^#' ../real_control | awk -F ' ' '$3=="'"$name"'" { printf("%s", $1); }' | sed 's/,.*$//')
+ execute git quiltimport --author "$author" --patches "../quilt/$name" || sh -i || {
[ -f "$sfile.orig" ] && mv -f $sfile.orig $sfile
exit 1
}