Commit 6f5d4005 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: fix messages

parent da3a50bd
......@@ -242,7 +242,7 @@ commit_tarball_to_dir()
# force commit ever files from .gitignore
docmd git add -f "$CURNAME"
if [ -s ./.gear/postdownload-hook ] ; then
info "Detected ./.gear/postdownload-hook, run it in $CURNAME dir ..."
info "Detected ./.gear/postdownload-hook, running it in $CURNAME dir ..."
cd $CURNAME || fatal
sh ../.gear/postdownload-hook
cd - >/dev/null
......@@ -321,7 +321,7 @@ source_postupdate_hook()
{
local RGD=$(get_root_git_dir)
if [ -s $RGD/.gear/source-postupdate-hook ] ; then
info "Detected .gear/source-postupdate-hook, run it ..."
info "Detected .gear/source-postupdate-hook, running it ..."
sh $RGD/.gear/source-postupdate-hook $VERSION
fi
}
......@@ -352,7 +352,7 @@ update_predownloaded()
cd $PSM || fatal
if [ -s $RGD/.gear/predownloaded-preinstall-hook ] ; then
info "Detected .gear/predownloaded-preinstall-hook, run it ..."
info "Detected .gear/predownloaded-preinstall-hook, running it ..."
sh $RGD/.gear/predownloaded-preinstall-hook $MODE $VERSION
COMMITMSG="update predownloaded-$MODE with a hook script"
fi
......@@ -368,12 +368,12 @@ update_predownloaded()
[ "$MODE" = "production" ] && PRODUCTION='--production'
info "Detected npm install hook, run npm install $PRODUCTION ..."
info "Detected npm install hook, running npm install $PRODUCTION ..."
a= npm install $PRODUCTION || fatal
COMMITMSG="update node_modules with npm install $PRODUCTION for $VERSION (see $SDNAME in .gear/rules)"
if [ -s $RGD/.gear/predownloaded-postinstall-hook ] ; then
info "Detected .gear/predownloaded-postinstall-hook, run it ..."
info "Detected .gear/predownloaded-postinstall-hook, running it ..."
sh $RGD/.gear/predownloaded-postinstall-hook $MODE $VERSION
fi
......
Markdown is supported
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