Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
a8d44e2c
Unverified
Commit
a8d44e2c
authored
2 years ago
by
Rafael Guterres Jeffman
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1002 from t-woerner/fix_spec_file_for_loop
ansible-freeipa.spec.in: Fix for loop with wildcard
parents
c5ba88d7
27cbd401
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/ansible-freeipa.spec.in
+3
-2
3 additions, 2 deletions
utils/ansible-freeipa.spec.in
with
3 additions
and
2 deletions
utils/ansible-freeipa.spec.in
+
3
−
2
View file @
a8d44e2c
...
@@ -117,12 +117,13 @@ to get the needed requrements to run the tests.
...
@@ -117,12 +117,13 @@ to get the needed requrements to run the tests.
# Fix python modules and module utils:
# Fix python modules and module utils:
# - Remove shebang
# - Remove shebang
# - Remove execute flag
# - Remove execute flag
for i in roles/ipa*/library/*.py roles/ipa*/module_utils/*.py plugins/*/*.py; do
for i in roles/ipa*/library/*.py roles/ipa*/module_utils/*.py plugins/*/*.py;
do
sed -i '1{/\/usr\/bin\/python*/d;}' $i
sed -i '1{/\/usr\/bin\/python*/d;}' $i
chmod a-x $i
chmod a-x $i
done
done
for i in utils/*.py utils/new_module utils/changelog utils/ansible-doc-test
for i in utils/*.py utils/new_module utils/changelog utils/ansible-doc-test
;
do
do
sed -i '{s@/usr/bin/python*@%{python}@}' $i
sed -i '{s@/usr/bin/python*@%{python}@}' $i
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment