Skip to content

Commit 78c6923

Browse files
authored
chore(ci): fix luarocks script redirect typo (#14153)
1 parent c4093c0 commit 78c6923

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/luarocks/templates/luarocks_make.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mkdir -p $(dirname $@)
1515
# alias LDOC command to true(1) command
1616
export LDOC=true
1717

18-
$luarocks_exec make --no-doc 2>&1 >$@.tmp
18+
$luarocks_exec make --no-doc >$@.tmp 2>&1
1919

2020
# only generate the output when the command succeeds
21-
mv $@.tmp $@
21+
mv $@.tmp $@

build/luarocks/templates/luarocks_target.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333
export LUAROCKS_CONFIG=$ROCKS_CONFIG
3434

3535
$host_luajit $luarocks_wrap_script \
36-
luarocks $rocks_tree $install_destdir 2>&1 > $@.tmp
36+
luarocks $rocks_tree $install_destdir > $@.tmp 2>&1
3737

3838
# write the luarocks config with host configuration
3939
mkdir -p $rocks_tree/etc/luarocks
@@ -55,4 +55,4 @@ sed -i -e "s|$build_destdir|$install_destdir|g" $rocks_tree/bin/luarocks
5555
sed -i -e "s|$rocks_tree|$install_destdir|g" $rocks_tree/bin/luarocks
5656

5757
# only generate the output when the command succeeds
58-
mv $@.tmp $@
58+
mv $@.tmp $@

0 commit comments

Comments
 (0)