Skip to content
Browse files
Add {GP} to make the script use gsed in macos.
  • Loading branch information
ismailsunni authored and m-kuhn committed Jul 28, 2017
1 parent b8616ec commit b7a4366c408e29af87c29be93883d7d1247d57e3
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/
@@ -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"
path=$(sed -r 's@/[^/]+$@@' <<< $sipfile)
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
mkdir -p python/$path
./scripts/ $header > python/$sipfile

0 comments on commit b7a4366

Please sign in to comment.