Skip to content

Commit

Permalink
tests: install-bin: output install commands
Browse files Browse the repository at this point in the history
This outputs the install commands to stderr to increase the verbosity of
what is done.
  • Loading branch information
gportay committed Mar 28, 2024
1 parent 3fb22c9 commit 503ea44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/install-bin
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ do
# Install file to DESTDIR if it is not already installed.
if [[ ! -x "$2$file" ]]
then
echo install -D -m755 "$file" "$2$file" >&2
install -D -m755 "$file" "$2$file"
fi
done

# Install binary file to DESTDIR if it is not already installed.
if [[ ! -x "$2$bin" ]]
then
echo install -D -m755 "$bin" "$2$bin" >&2
install -D -m755 "$bin" "$2$bin"
fi

0 comments on commit 503ea44

Please sign in to comment.