Skip to content

Commit b7a4366

Browse files
ismailsunnim-kuhn
authored andcommittedJul 28, 2017
Add {GP} to make the script use gsed in macos.
1 parent b8616ec commit b7a4366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎scripts/sipify_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ modules=(core gui analysis server)
3131
for module in "${modules[@]}"; do
3232
while read -r sipfile; do
3333
echo "$sipfile"
34-
header=$(sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
34+
header=$(${GP}sed -E 's/(.*)\.sip/src\/\1.h/' <<< $sipfile)
3535
if [ ! -f $header ]; then
3636
echo "*** Missing header: $header for sipfile $sipfile"
3737
else
38-
path=$(sed -r 's@/[^/]+$@@' <<< $sipfile)
38+
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
3939
mkdir -p python/$path
4040
./scripts/sipify.pl $header > python/$sipfile
4141
fi

0 commit comments

Comments
 (0)
Please sign in to comment.