Skip to content

Commit

Permalink
[gh actions] POSIX code necessary
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@69552 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
norbusan committed Jan 23, 2024
1 parent 185cc81 commit ad7e05d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/scripts/build-tl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ then
STEPS=",prepare,build,"
fi

if [[ "$STEPS" == *,prepare,* ]]
do_prepare=0
do_build=0
case "$STEPS" in
*,prepare,*) do_prepare=1 ;;
*,build,*) do_build=1 ;;
esac

if [ $do_prepare = 1 ]
then
case $buildsys in
ubuntu|debian)
Expand Down Expand Up @@ -56,7 +63,7 @@ then
esac
fi

if [[ "$STEPS" == *,build,* ]]
if [ $do_build = 1 ]
then
find . -name \*.info -exec touch '{}' \;
touch ./texk/detex/detex-src/detex.c
Expand Down

0 comments on commit ad7e05d

Please sign in to comment.