Skip to content

Commit 2ee34a9

Browse files
committed
remove extraneous {}
1 parent 0d5fc95 commit 2ee34a9

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

recipes/c_igraph/recipe.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ function build_c_igraph() {
3939
cd $BUILD_c_igraph
4040

4141
push_arm
42-
if [ ! -e $BUILD_c_igraph/config.h ]; then {
43-
export OLD_CPPFLAGS="$CPPFLAGS";
44-
export CPPFLAGS="$CPPFLAGS -I$ANDROIDNDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I$ANDROIDNDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -L$ANDROIDNDK/platforms/android-$ANDROIDAPI/arch-arm/usr/lib";
45-
try ./configure --prefix="$BUILD_PATH/python-install" --build=i686-pc-linux-gnu --host=arm-linux-eabi;
46-
try patch $BUILD_c_igraph/config.h $RECIPE_c_igraph/config.h.patch;
47-
export CPPFLAGS="$OLD_CPPFLAGS";
48-
}
42+
if [ ! -e $BUILD_c_igraph/config.h ]; then
43+
export OLD_CPPFLAGS="$CPPFLAGS";
44+
export CPPFLAGS="$CPPFLAGS -I$ANDROIDNDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I$ANDROIDNDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -L$ANDROIDNDK/platforms/android-$ANDROIDAPI/arch-arm/usr/lib";
45+
try ./configure --prefix="$BUILD_PATH/python-install" --build=i686-pc-linux-gnu --host=arm-linux-eabi;
46+
try patch $BUILD_c_igraph/config.h $RECIPE_c_igraph/config.h.patch;
47+
export CPPFLAGS="$OLD_CPPFLAGS";
4948
fi
5049

5150

recipes/igraph/recipe.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ RECIPE_igraph=$RECIPES_PATH/igraph
1818

1919

2020
function prebuild_igraph() {
21-
if [ ! -f "$BUILD_igraph/.patched" ]; then {
22-
try patch $BUILD_igraph/setup.py $RECIPE_igraph/setup.py.patch
23-
try patch $BUILD_igraph/setup.cfg $RECIPE_igraph/setup.cfg.patch
24-
touch $BUILD_igraph/.patched
25-
};
21+
if [ ! -f "$BUILD_igraph/.patched" ]; then
22+
try patch $BUILD_igraph/setup.py $RECIPE_igraph/setup.py.patch
23+
try patch $BUILD_igraph/setup.cfg $RECIPE_igraph/setup.cfg.patch
24+
touch $BUILD_igraph/.patched
2625
fi
2726
}
2827

0 commit comments

Comments
 (0)