Don't use Bash extended redirect syntax #47
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
"&>PATH" is Bash extended redirect syntax.
See also: http://www.gnu.org/software/bash/manual/bashref.html#Redirecting-Standard-Output-and-Standard-Error
It is not worked well on normal sh such as dash. dash is the /bin/sh
on Debian GNU/Linux. If dash is used for "system", "gem install ..."
is run in background. "system" for background command always returns
true:
It means "install_gem" always returns true. It breaks the following
logic in lib/hoe/deps.rb:
It causes a problem for "kpeg" gem. "hoe-kpeg" gem doesn't
exist. "kpeg" gem should be searched as fallback but it is not
searched. Because install_gem("hoe-#{name}") is not failed.
RDoc depends on "kpeg". So "rake newb" for RDoc is failed.