Commit c839879e authored by Nicolas Dandrimont's avatar Nicolas Dandrimont 🤔
Browse files

More useful verbosity in the mass reimporter

parent 2f96e60a
...@@ -56,7 +56,7 @@ forge_changes () { ...@@ -56,7 +56,7 @@ forge_changes () {
cp $file $temp_dir cp $file $temp_dir
done done
dpkg-source -x $dsc_file $temp_dir/extracted dpkg-source -x $dsc_file $temp_dir/extracted >/dev/null
cd $temp_dir/extracted cd $temp_dir/extracted
...@@ -67,12 +67,14 @@ forge_changes () { ...@@ -67,12 +67,14 @@ forge_changes () {
priority=$(dpkg-deb -f "../$file" Priority) priority=$(dpkg-deb -f "../$file" Priority)
echo "$file $section $priority" >> debian/files echo "$file $section $priority" >> debian/files
done done
dpkg-genchanges > "../${dsc_root}_forged.changes" dpkg-genchanges > "../${dsc_root}_forged.changes" 2>/dev/null
else else
dpkg-genchanges -S > "../${dsc_root}_forged.changes" dpkg-genchanges -S > "../${dsc_root}_forged.changes" 2>/dev/null
fi fi
cd $cur_dir cd $cur_dir
echo "Generated ${dsc_root}_forged.changes"
} }
# Copy the files associated to the $1 changes file into $2. Ugly hack: # Copy the files associated to the $1 changes file into $2. Ugly hack:
...@@ -81,7 +83,7 @@ copy_changes () { ...@@ -81,7 +83,7 @@ copy_changes () {
changes_file="$1" changes_file="$1"
destdir="$2" destdir="$2"
dcmd cp "${changes_file}" "$destdir" dcmd cp "${changes_file}" -v "$destdir"
} }
# Forge a changes file for $1 and upload it into $2. # Forge a changes file for $1 and upload it into $2.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment