From 50b0a79b909792e5698b052e2c3e0bfb719a8bc0 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Mon, 3 Jul 2017 18:24:07 +0530 Subject: [PATCH] Fixed shebang and permissions for scripts. * While packaging in RDO, rpmlints are failing by giving non-executable script errors, we need to remove the shebang from rally/plugins/workload/siege.py as it lies with in the rally package. * unpack_plugins_samples.sh, instance_linpack.sh, instance_test.sh scripts does have executable permissions. we need to set the same for the same to avoid rpmlint errors[1.]. [1.] https://review.rdoproject.org/r/#/c/7007/5/openstack-rally.spec@105 Change-Id: Ibcab4b45a8d9dc06bf5bfbe0d8262f571da87eee --- rally/plugins/workload/siege.py | 2 -- samples/tasks/support/instance_linpack.sh | 0 samples/tasks/support/instance_test.sh | 0 3 files changed, 2 deletions(-) mode change 100644 => 100755 samples/tasks/support/instance_linpack.sh mode change 100644 => 100755 samples/tasks/support/instance_test.sh diff --git a/rally/plugins/workload/siege.py b/rally/plugins/workload/siege.py index 9b245b74..e761bf39 100644 --- a/rally/plugins/workload/siege.py +++ b/rally/plugins/workload/siege.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/samples/tasks/support/instance_linpack.sh b/samples/tasks/support/instance_linpack.sh old mode 100644 new mode 100755 diff --git a/samples/tasks/support/instance_test.sh b/samples/tasks/support/instance_test.sh old mode 100644 new mode 100755