Skip to content

Commit

Permalink
package.cmd: don't exit parent when displaying usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Aug 5, 2017
1 parent a5ddab6 commit 4497c03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ms-windows/osgeo4w/package-nightly.cmd
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ goto end
:usage :usage
echo usage: %0 version package packagename arch [sha [site]] echo usage: %0 version package packagename arch [sha [site]]
echo sample: %0 2.11.0 38 qgis-dev x86_64 339dbf1 qgis.org echo sample: %0 2.11.0 38 qgis-dev x86_64 339dbf1 qgis.org
exit exit /b 1


:error :error
echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME% echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%
Expand Down
2 changes: 1 addition & 1 deletion ms-windows/osgeo4w/package.cmd
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ goto end
:usage :usage
echo usage: %0 version package packagename arch [sha [site]] echo usage: %0 version package packagename arch [sha [site]]
echo sample: %0 2.0.1 3 qgis x86 f802808 echo sample: %0 2.0.1 3 qgis x86 f802808
exit exit /b 1


:error :error
echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME% echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%
Expand Down

0 comments on commit 4497c03

Please sign in to comment.