lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 6c8d5cb 3/5: Don't specify implicit '-s' for


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6c8d5cb 3/5: Don't specify implicit '-s' for 'uname'
Date: Thu, 28 Mar 2019 16:23:21 -0400 (EDT)

branch: master
commit 6c8d5cb8ff0083b0b8e710489d12b940033c13d5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Don't specify implicit '-s' for 'uname'
---
 check_git_setup.sh           | 2 +-
 configuration.make           | 2 +-
 install_libxml2_libxslt.make | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/check_git_setup.sh b/check_git_setup.sh
index c364c53..88e4c12 100755
--- a/check_git_setup.sh
+++ b/check_git_setup.sh
@@ -34,7 +34,7 @@ printf '"%s" is git toplevel directory\n' "$toplevel"
 #'core.filemode' is "false". See:
 #   https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html
 
-case $(uname -s) in
+case $(uname) in
   (CYGWIN*)
     printf 'cygwin detected\n'
     printf 'forcing correct permissions '
diff --git a/configuration.make b/configuration.make
index 43a48eb..73806ad 100644
--- a/configuration.make
+++ b/configuration.make
@@ -23,7 +23,7 @@
 
 # Include platform-specific makefile.
 
-uname := $(shell uname -s 2>/dev/null)
+uname := $(shell uname 2>/dev/null)
 
 platform-makefile := posix_fhs.make
 
diff --git a/install_libxml2_libxslt.make b/install_libxml2_libxslt.make
index 2c4dfbc..4e2e79e 100644
--- a/install_libxml2_libxslt.make
+++ b/install_libxml2_libxslt.make
@@ -61,7 +61,7 @@ mingw_bin_dir :=
 build_type    := x86_64-unknown-linux-gnu
 host_type     := i686-w64-mingw32
 
-uname := $(shell uname -s 2>/dev/null)
+uname := $(shell uname 2>/dev/null)
 ifeq (CYGWIN,$(findstring CYGWIN,$(uname)))
   mingw_bin_dir := $(mingw_dir)/bin/
   build_type    := i686-pc-cygwin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]