Skip to content

Commit

Permalink
NIFI-4640 Sub source w/ . in nifi.sh to be POSIX compliant
Browse files Browse the repository at this point in the history
This closes apache#2302

Signed-off-by: Aldrin Piri <[email protected]>
  • Loading branch information
jfrazee authored and apiri committed Nov 29, 2017
1 parent cec2764 commit 73fa042
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ detectOS() {
fi
# In addition to those, go around the linux space and query the widely
# adopted /etc/os-release to detect linux variants
if [ -f /etc/os-release ]
then
source /etc/os-release
if [ -f /etc/os-release ]; then
. /etc/os-release
fi
}

Expand Down

0 comments on commit 73fa042

Please sign in to comment.