summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-08-15 22:51:34 +0200
committerJustin Davis <jrcd83@gmail.com>2012-08-15 22:51:34 +0200
commitb144e0a2a511d7400304b6866be4737d3b7e8a64 (patch)
tree0ee03733983b9ecc5aaa5ed9f6add11f75116e7b /bin
parent65772d9278d5fbea7a187f2d1e372dfc5dd0c56e (diff)
downloadgenpkg-b144e0a2a511d7400304b6866be4737d3b7e8a64.tar.gz
genpkg-b144e0a2a511d7400304b6866be4737d3b7e8a64.tar.xz
Notify the user of moding before the fact.
This maybe might make errors easier to understand.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genpkg b/bin/genpkg
index 8cbd6ba..4725b3f 100755
--- a/bin/genpkg
+++ b/bin/genpkg
@@ -119,12 +119,12 @@ do
mod="$modsd/$pkg"
if [ -f "$mod" -a -r "$mod" ]
then
+ echo "Moding with $mod." 1>&2
trap 'rm -f PKGDATA.new' 1 2 15
# Duplicate the version in case modpkg modifies it.
if cat PKGDATA | dupver | modpkg "$mod" > PKGDATA.new
then
- echo "Modified with $mod." 1>&2
mv PKGDATA.new PKGDATA
else
echo "$prog: modpkg failed." 1>&2