From cbb9c769316b4d32956a2c78aa01a38b473f0cfc Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 30 Oct 2015 08:30:43 -0400 Subject: [PATCH] xflock4: Do not override PATH with hardcoded value. The PATH "/bin:/usr/bin" may not be a valid search path on the user's machine. The screen locking program may be in /usr/local/bin or elsewhere. Distros that do not conform to the FHS, such as GuixSD and NixOS, will not have their executables in either location. Thus, we simply leave PATH alone. --- scripts/xflock4 | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/xflock4 b/scripts/xflock4 index ec4d05d..e7981ac 100644 --- a/scripts/xflock4 +++ b/scripts/xflock4 @@ -21,9 +21,6 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -PATH=/bin:/usr/bin -export PATH - # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running for lock_cmd in \ "xscreensaver-command -lock" \ -- 2.5.0 ss='tabs'> aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-lint.sh
AgeCommit message (Expand)Author
2021-02-22packages: 'package-field-location' handles 'search-path' returning #f....Fixes <https://bugs.gnu.org/46390>. Reported by zimoun <zimon.toutoune@gmail.com>. This is similar to the fix in d10474c38d58bdc676e64336769dc2e00cdfa8ed. * guix/packages.scm (package-field-location): Handle FILE not in %LOAD-PATH. * tests/guix-lint.sh: Add test. Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier
2020-08-23lint: formatting: Gracefully handle relative file names....Fixes <https://bugs.gnu.org/42543>. Reported by Jack Hill <jackhill@jackhill.us>. * guix/lint.scm (check-formatting): Always return a list (previously we would return #f when 'search-path' returns #f). Check whether LOCATION's file is a relative file name. Return a warning if not. * tests/guix-lint.sh: Add test. Ludovic Courtès