5a881521699d37dc5fc5b066e046de5877292a72,perfkitbenchmarker/packages/ant.py,,_Install,#Any#,24
Before Change
"test -e /usr/bin/ant && "
"sudo mv /usr/bin/ant /usr/bin/ant.bak".format(
vm_util.VM_TMP_DIR, ANT_TAR_URL))
vm.RemoteCommand("sudo ln -s /opt/ant/bin/ant /usr/bin/ant && "
"sudo sh -c "echo ANT_HOME=/opt/ant >> /etc/environment"")
def YumInstall(vm):
After Change
"(sudo mv -f /usr/bin/ant /usr/bin/ant.bak"
"|| true)".format(
vm_util.VM_TMP_DIR, ANT_TAR_URL))
vm.RemoteCommand("sudo ln -s {0}/ant/bin/ant /usr/bin/ant".format(
vm_util.VM_TMP_DIR))
def YumInstall(vm):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 5a881521699d37dc5fc5b066e046de5877292a72
Time: 2015-08-17
Author: vukasin.stefanovic92@gmail.com
File Name: perfkitbenchmarker/packages/ant.py
Class Name:
Method Name: _Install
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: d21277d51f365919f1ad27260b1974c3065e227b
Time: 2015-01-15
Author: ehankland@google.com
File Name: perfkitbenchmarker/packages/pip.py
Class Name:
Method Name: _Uninstall
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: d21277d51f365919f1ad27260b1974c3065e227b
Time: 2015-01-15
Author: ehankland@google.com
File Name: perfkitbenchmarker/packages/pip.py
Class Name:
Method Name: _Install