From 7e710b5733e15d3a391cfe37173a6a19ae7a8680 Mon Sep 17 00:00:00 2001 From: windmgc Date: Tue, 14 Jan 2025 14:40:25 +0800 Subject: [PATCH] chore(ci): fix luarocks script redirect typo --- build/luarocks/templates/luarocks_make.sh | 4 ++-- build/luarocks/templates/luarocks_target.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 $@