After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742268 - systeminstall: search for path files in sbin
systeminstall: search for path files in sbin
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks: 742266
 
 
Reported: 2015-01-03 17:12 UTC by Allison Karlitskaya (desrt)
Modified: 2015-01-06 19:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
systeminstall: search for path files in sbin (1.77 KB, patch)
2015-01-03 17:12 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2015-01-03 17:12:37 UTC
/sbin and /usr/sbin may be missing from $PATH so make sure we include
them when looking for path programs.

This is needed to find iptables on Debian.

While we're at it, rewrite the loop to take advantage of for/else to
remove the need for a separate 'found' variable.
Comment 1 Allison Karlitskaya (desrt) 2015-01-03 17:12:39 UTC
Created attachment 293650 [details] [review]
systeminstall: search for path files in sbin
Comment 2 Frederic Peters 2015-01-06 19:03:10 UTC
Comment on attachment 293650 [details] [review]
systeminstall: search for path files in sbin

sure
Comment 3 Allison Karlitskaya (desrt) 2015-01-06 19:47:35 UTC
Attachment 293650 [details] pushed as 921ee9a - systeminstall: search for path files in sbin