]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
shell syntax
authorrahuel <rahuel@opencascade.com>
Thu, 9 Feb 2006 15:14:10 +0000 (15:14 +0000)
committerrahuel <rahuel@opencascade.com>
Thu, 9 Feb 2006 15:14:10 +0000 (15:14 +0000)
salome_adm/unix/make_conclude.in

index d5d4a5d14c30fb654471fb933e9742ddefbbc50b..890d757086826569dba0aef1a2fe4fdb005350b9 100644 (file)
@@ -59,7 +59,7 @@ $(LIB_BUILD): $(top_builddir)/lib/salome/%.la: %.la
        ln -sf $(patsubst %.la, %.so, $(CURDIR)/.libs/$<).0 \
              $(patsubst %.la, %.so, $@).0 || true
 
-       if ! test -z $(LIB_SWIG) ; then \
+       if test "X$(LIB_SWIG)" != "X"; then \
           ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib/salome/_$(LIB_SWIG) || true;\
        fi;
 
@@ -177,7 +177,7 @@ install: $(LIB) $(BIN) $(TEST_PROGS) $(libdir) $(includedir) $(bindir) $(datadir
              ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1);                  \
           fi;                                                                \
        done
-       @if ! test -z $(LIB_SWIG) ; then                                      \
+       @if test "X$(LIB_SWIG)" != "X"; then                                  \
          (cd $(libdir); ln -sf $(patsubst %.so, %cmodule.so, $(LIB_SWIG)) _$(LIB_SWIG)  || true); \
         fi;                                                                  
        @for f in X $(BIN); do                                                \