mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not assume there is only a space between #define and the macro name
when grepping for JOBS. The recent style cleanup replaced the space with a tab and broke job control detection. Little edits, disastrous consequences. Submitted by: Peter Edwards <pmedwards@eircom.net> X-MFC when: in about 5 weeks with the other sh arithmetic fixes.
This commit is contained in:
parent
84c7b427f5
commit
9e4656f7e8
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
temp=`/usr/bin/mktemp -t ka`
|
||||
havejobs=0
|
||||
if grep '^#define JOBS[ ]*1' shell.h > /dev/null
|
||||
if grep '^#define[ ]*JOBS[ ]*1' shell.h > /dev/null
|
||||
then havejobs=1
|
||||
fi
|
||||
havehist=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue