mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Have to use g prefix for gnu tools also on *BSD
This commit is contained in:
parent
295e3603a6
commit
a72ffafb8f
@ -16,7 +16,7 @@
|
||||
|
||||
# sort by version option
|
||||
SV=V
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
SV=n
|
||||
fi
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -24,9 +24,9 @@ fi
|
||||
|
||||
cd "$TOPLEVEL"
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -30,9 +30,9 @@ TOPLEVEL=$(git rev-parse --show-toplevel)
|
||||
|
||||
cd "$TOPLEVEL" || exit
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -7,9 +7,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -25,9 +25,9 @@ DIR=$(git rev-parse --show-toplevel)
|
||||
|
||||
pushd ${DIR} > /dev/null
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -27,9 +27,9 @@ set -e
|
||||
|
||||
DIR=$(git rev-parse --show-toplevel)
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -32,9 +32,9 @@ DIR=$(git rev-parse --show-toplevel)/scripts/spell_check
|
||||
|
||||
AGIGNORE=${DIR}/.agignore
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
||||
|
||||
# Testing the spell test :)
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -6,9 +6,9 @@ srcdir=$(dirname $0)/../../
|
||||
|
||||
DIR=$(git -C ${srcdir} rev-parse --show-toplevel)
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
# GNU prefix command for mac os support (gsed, gsplit)
|
||||
# GNU prefix command for bsd/mac os support (gsed, gsplit)
|
||||
GP=
|
||||
if [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
if [[ "$OSTYPE" == *bsd* ]] || [[ "$OSTYPE" =~ darwin* ]]; then
|
||||
GP=g
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user