Fix info-drop scripts
Change-Id: Ia7fca90465bbb97db6fc94b1cedc780bdae65e4f
diff --git a/common/ubuntu_info.sh b/common/ubuntu_info.sh
index 3fc2cf9..3e4a0a5 100644
--- a/common/ubuntu_info.sh
+++ b/common/ubuntu_info.sh
@@ -2,10 +2,6 @@
# Save some basic debug information.
-mkdir -p /var/log/bootstrap_logs/
-pushd /var/log/bootstrap_logs/
+mkdir -p /var/log/bootstrap_logs/ ; pushd /var/log/bootstrap_logs/
dpkg-query -W -f='${Package}=${Version}\n' | sort -u |tee -a vcp_initial_pkgs.log
- # In case, salt_cleanup or other have been processed
- sort -u vcp_initial_pkgs.log >> vcp_initial_pkgs.log_tmp
- mv -v vcp_initial_pkgs.log_tmp vcp_initial_pkgs.log
popd