mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Add {GP} to make the script use gsed in macos.
This commit is contained in:
parent
b8616ec513
commit
b7a4366c40
@ -31,11 +31,11 @@ modules=(core gui analysis server)
|
||||
for module in "${modules[@]}"; do
|
||||
while read -r sipfile; do
|
||||
echo "$sipfile"
|
||||
header=$(sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
|
||||
header=$(${GP}sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
|
||||
if [ ! -f $header ]; then
|
||||
echo "*** Missing header: $header for sipfile $sipfile"
|
||||
else
|
||||
path=$(sed -r 's@/[^/]+$@@' <<< $sipfile)
|
||||
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
|
||||
mkdir -p python/$path
|
||||
./scripts/sipify.pl $header > python/$sipfile
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user