Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 32ea941c authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

fix posix compatibility

parent 79eb1a99
Branches
Tags
No related merge requests found
...@@ -155,18 +155,18 @@ while [ 0 -lt $# ]; do ...@@ -155,18 +155,18 @@ while [ 0 -lt $# ]; do
done done
#end the qmake options #end the qmake options
if [ $config_specified == 1 ]; then if [ $config_specified = 1 ]; then
config="$config\""; config="$config\"";
else else
config="$config release\""; config="$config release\"";
fi fi
if [ $with_otf == 1 -a "$includepath" = "\"INCLUDEPATH+=" ]; then if [ $with_otf = 1 -a "$includepath" = "\"INCLUDEPATH+=" ]; then
includepath="$includepath general/otf/otflib/" includepath="$includepath general/otf/otflib/"
dependpath="$dependpath general/otf/otflib/" dependpath="$dependpath general/otf/otflib/"
fi fi
if [ $with_otf == 1 -a "$libs" = "\"LIBS+=" ]; then if [ $with_otf = 1 -a "$libs" = "\"LIBS+=" ]; then
libs="$libs general/otf/otflib/.libs/libotf.a -Lgeneral/otf/otflib/.libs" libs="$libs general/otf/otflib/.libs/libotf.a -Lgeneral/otf/otflib/.libs"
fi fi
...@@ -208,7 +208,7 @@ cat > "$makefile" <<EOF ...@@ -208,7 +208,7 @@ cat > "$makefile" <<EOF
######################################################################## ########################################################################
EOF EOF
if [ $with_otf == 1 -a $with_otf_default == 1 ]; then # set the directory... should be decided by the user, we will see after how to do beautiful options :) if [ $with_otf = 1 -a $with_otf_default = 1 ]; then # set the directory... should be decided by the user, we will see after how to do beautiful options :)
cat >> "$makefile" <<EOF cat >> "$makefile" <<EOF
OTFLIB_DIR = ./src/general/otf OTFLIB_DIR = ./src/general/otf
...@@ -275,7 +275,7 @@ clean: ...@@ -275,7 +275,7 @@ clean:
cleanall: clean cleanall: clean
EOF EOF
if [ $with_otf == 1 -a $with_otf_default == 1 ]; then if [ $with_otf = 1 -a $with_otf_default = 1 ]; then
cat >>"$makefile" <<EOF cat >>"$makefile" <<EOF
make -C \$(OTFLIB_DIR) clean make -C \$(OTFLIB_DIR) clean
EOF EOF
...@@ -288,7 +288,7 @@ fi ...@@ -288,7 +288,7 @@ fi
distclean: cleanall distclean: cleanall
EOF EOF
if [ $with_otf == 1 ]; then if [ $with_otf = 1 ]; then
cat >>"$makefile" <<EOF cat >>"$makefile" <<EOF
make -C \$(OTFLIB_DIR) distclean make -C \$(OTFLIB_DIR) distclean
EOF EOF
...@@ -300,7 +300,7 @@ fi ...@@ -300,7 +300,7 @@ fi
EOF EOF
if [ $with_otf == 1 -a $with_otf_default == 1 ]; then if [ $with_otf = 1 -a $with_otf_default = 1 ]; then
echo >&2 "Configuration of the otf library" echo >&2 "Configuration of the otf library"
cd $OTFLIB_DIR && ./configure cd $OTFLIB_DIR && ./configure
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment