Skip to content
Permalink
Browse files

Add {GP} to make the script use gsed in macos.

  • Loading branch information
ismailsunni authored and m-kuhn committed Jul 27, 2017
1 parent b8616ec commit b7a4366c408e29af87c29be93883d7d1247d57e3
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/sipify_all.sh
@@ -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

0 comments on commit b7a4366

Please sign in to comment.
You can’t perform that action at this time.