Dash:
[t2.git] / package / develop / bacon / hotfix-which.patch
blob0fd0ad8737c3a5e54d00fe149bce2c7e4b2ffeaa
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/bacon/hotfix-which.patch
3 # Copyright (C) 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- bacon-4.4/bacon.sh.vanilla 2021-12-27 17:12:39.993000000 +0100
15 +++ bacon-4.4/bacon.sh 2021-12-27 17:12:58.329000000 +0100
16 @@ -62,13 +62,6 @@
17 # Our numerical environment is POSIX
18 export LC_NUMERIC="POSIX"
20 -# Find coretools
21 -if [[ -z `which cat` || -z `which rm` || -z `which tr` || -z `which touch` || -z `which uname` || -z `which head` || -z `which pwd` ]]
22 -then
23 - echo "System error: 'cat', 'rm', 'tr', 'touch', 'uname', 'head' or 'pwd' not found on this system!"
24 - exit 1
25 -fi
27 # Solaris
28 if [[ `uname` = +(*SunOS*) ]]
29 then