Skip to content

Commit

Permalink
Merge pull request #11074 from badone/wip-dry-run
Browse files Browse the repository at this point in the history
run-*make-check.sh: Make DRY_RUN actually mean a dry run

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Sep 14, 2016
2 parents 52b0689 + abe9144 commit 0492c23
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 0492c23

Please sign in to comment.