Skip to content

Commit

Permalink
build-dist.sh: set -it if we have a tty
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed May 7, 2024
1 parent 58e2fea commit 1529802
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ for a in $@; do
shift
done

if test -t; then
it="-it"
fi

cross_run() {
target="$1"
shift
Expand Down

0 comments on commit 1529802

Please sign in to comment.