Skip to content

Commit

Permalink
run-*make-check.sh: Make DRY_RUN actually mean a dry run
Browse files Browse the repository at this point in the history
DRY_RUN does not currently do an actual dry run as it actually runs an install
command.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
  • Loading branch information
badone committed Sep 14, 2016
1 parent 6a3e5c4 commit abe9144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion run-cmake-check.sh
Expand Up @@ -38,7 +38,7 @@ function run() {
type apt-get > /dev/null 2>&1 && install_cmd="apt-get install -y"
type zypper > /dev/null 2>&1 && install_cmd="zypper --gpg-auto-import-keys --non-interactive install"
if [ -n "$install_cmd" ]; then
sudo $install_cmd ccache jq
$DRY_RUN sudo $install_cmd ccache jq
else
echo "WARNING: Don't know how to install packages" >&2
fi
Expand Down
2 changes: 1 addition & 1 deletion run-make-check.sh
Expand Up @@ -56,7 +56,7 @@ function run() {
type apt-get > /dev/null 2>&1 && install_cmd="apt-get install -y"
type zypper > /dev/null 2>&1 && install_cmd="zypper --gpg-auto-import-keys --non-interactive install"
if [ -n "$install_cmd" ]; then
sudo $install_cmd ccache jq
$DRY_RUN sudo $install_cmd ccache jq
else
echo "WARNING: Don't know how to install packages" >&2
fi
Expand Down

0 comments on commit abe9144

Please sign in to comment.