mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/decklink-sdk: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a4ef714c9f
commit
a71da0dfbe
1 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
# Amend Examples' Makefile to reflect some installed locations
|
||||
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Examples && \
|
||||
for m in `find . -name Makefile`; do
|
||||
for m in $( find . -name Makefile ); do
|
||||
echo "Editing $m ..."
|
||||
sed -i '
|
||||
/^SDK_PATH=/ {
|
||||
|
@ -97,7 +97,7 @@ done
|
|||
|
||||
# Amend Samples' Makefiles to reflect some installed locations
|
||||
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \
|
||||
for m in `find . -name Makefile`; do
|
||||
for m in $( find . -name Makefile ); do
|
||||
echo "Editing $m ..."
|
||||
sed -i '
|
||||
/CFLAGS=/ {
|
||||
|
@ -111,7 +111,7 @@ SDK_PATH=\/usr\/include\/decklink
|
|||
done
|
||||
)
|
||||
( cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples && \
|
||||
for m in `find . -name "*.pro"`; do
|
||||
for m in $( find . -name "*.pro" ); do
|
||||
echo "Editing $m ..."
|
||||
if [ -e "$(dirname $m)/src" ]; then
|
||||
echo "XXXX $(dirname $m)"
|
||||
|
@ -125,7 +125,7 @@ done
|
|||
find . -name "build.sh" -exec chmod 0755 {} \;
|
||||
)
|
||||
(cd $PKG/usr/doc/$PRGNAM-$VERSION/Samples/ && \
|
||||
for m in `find . -name "*.pro"`; do
|
||||
for m in $( find . -name "*.pro" ); do
|
||||
echo "Building $m ..."
|
||||
sed -i 's/\.\.\/\.\.\/include/\/usr\/include\/decklink/g' $m
|
||||
(cd $(dirname $m) && qmake-qt5 )
|
||||
|
|
Loading…
Reference in a new issue