Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
c839879e
Commit
c839879e
authored
Feb 19, 2012
by
Nicolas Dandrimont
🤔
Browse files
More useful verbosity in the mass reimporter
parent
2f96e60a
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/scripts/mass-reimporter.sh
View file @
c839879e
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment