[Pkg-javascript-commits] [node-chalk] 01/01: A more readable warning for mkorig module version mismatch

Jérémy Lal kapouer at moszumanska.debian.org
Sun Sep 14 23:31:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-chalk.

commit 61dd2cc6dca63fd5a7986cbf855a75633e91cb16
Author: Jérémy Lal <kapouer at melix.org>
Date:   Mon Sep 15 01:31:25 2014 +0200

    A more readable warning for mkorig module version mismatch
---
 debian/mkorig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/mkorig b/debian/mkorig
index 97acf36..c327017 100755
--- a/debian/mkorig
+++ b/debian/mkorig
@@ -22,7 +22,7 @@ if [ "" != "$component" ]; then
   expectedVersion=$(nodejs -e "console.log(require('./package').dependencies['$module'])")
   allowedVersion=`semver $version -r $expectedVersion || true`
   if [ "${allowedVersion}" = "" ]; then
-    echo "WARNING $component $version is not compatible with $expectedVersion\nPlease update debian/watch, see debian/README.source"
+    echo "\n\n********** WARNING **********\n$component $version is not compatible with $expectedVersion\nPlease update debian/watch, see debian/README.source\n*****************************\n"
   fi
   ### end of specific code ###
   cmpdir="$dir/$component"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-chalk.git



More information about the Pkg-javascript-commits mailing list