diff --git a/build/luarocks/templates/luarocks_make.sh b/build/luarocks/templates/luarocks_make.sh index 96cbc9b90e6..19937cd2662 100644 --- a/build/luarocks/templates/luarocks_make.sh +++ b/build/luarocks/templates/luarocks_make.sh @@ -15,7 +15,7 @@ mkdir -p $(dirname $@) # alias LDOC command to true(1) command export LDOC=true -$luarocks_exec make --no-doc 2>&1 >$@.tmp +$luarocks_exec make --no-doc >$@.tmp 2>&1 # only generate the output when the command succeeds -mv $@.tmp $@ \ No newline at end of file +mv $@.tmp $@ diff --git a/build/luarocks/templates/luarocks_target.sh b/build/luarocks/templates/luarocks_target.sh index 5bc2b8717f4..eb5791abf13 100644 --- a/build/luarocks/templates/luarocks_target.sh +++ b/build/luarocks/templates/luarocks_target.sh @@ -33,7 +33,7 @@ EOF export LUAROCKS_CONFIG=$ROCKS_CONFIG $host_luajit $luarocks_wrap_script \ - luarocks $rocks_tree $install_destdir 2>&1 > $@.tmp + luarocks $rocks_tree $install_destdir > $@.tmp 2>&1 # write the luarocks config with host configuration mkdir -p $rocks_tree/etc/luarocks @@ -55,4 +55,4 @@ sed -i -e "s|$build_destdir|$install_destdir|g" $rocks_tree/bin/luarocks sed -i -e "s|$rocks_tree|$install_destdir|g" $rocks_tree/bin/luarocks # only generate the output when the command succeeds -mv $@.tmp $@ \ No newline at end of file +mv $@.tmp $@