Changeset 1993 for xz/vendor/current/m4/progtest.m4
- Timestamp:
- Feb 8, 2017, 8:58:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified xz/vendor/current/m4/progtest.m4 ¶
r1791 r1993 1 # progtest.m4 serial 6 (gettext-0.18)2 dnl Copyright (C) 1996-2003, 2005, 2008-201 0Free Software Foundation, Inc.1 # progtest.m4 serial 7 (gettext-0.18.2) 2 dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc. 3 3 dnl This file is free software; the Free Software Foundation 4 4 dnl gives unlimited permission to copy and/or distribute it, … … 28 28 # The user is always right. 29 29 if test "${PATH_SEPARATOR+set}" != set; then 30 echo "#! /bin/sh" >conf$$.sh 31 echo "exit 0" >>conf$$.sh 32 chmod +x conf$$.sh 33 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 34 PATH_SEPARATOR=';' 35 else 36 PATH_SEPARATOR=: 37 fi 38 rm -f conf$$.sh 30 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 31 # contains only /bin. Note that ksh looks also at the FPATH variable, 32 # so we have to set that as well for the test. 33 PATH_SEPARATOR=: 34 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 35 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 36 || PATH_SEPARATOR=';' 37 } 39 38 fi 40 39
Note:
See TracChangeset
for help on using the changeset viewer.