]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
modify qt source installation final step: replace ls by find (ls can be aliased to...
authorvsr <vsr@opencascade.com>
Thu, 14 Dec 2006 11:26:12 +0000 (11:26 +0000)
committervsr <vsr@opencascade.com>
Thu, 14 Dec 2006 11:26:12 +0000 (11:26 +0000)
config_files/qt-3.3.3.sh
config_files/qt-3.3.4.sh

index 3b944e4126173292ea5f4541430b325739b2f254..213f593df501bfbbb922477f1f38e819b75723b8 100755 (executable)
@@ -122,7 +122,8 @@ check_job ${PRODUCT_DIR}/MAKE.LOG make
 check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
 export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
 
-for b in `ls ${PRODUCT_WORK}/bin`; do
+for b in `find bin -mindepth 1 -maxdepth 1 -name "*"`; do
+    b=`basename $b`;
     if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
        if [ -h ${PRODUCT_DIR}/bin/$b ]; then
            rm -f ${PRODUCT_DIR}/bin/$b
index ac393fe596cfb2bcfc04f0020143582dac9984c4..cf1e7cf2faddb94fef92ecbe0eaebab56d3aa6ba 100755 (executable)
@@ -151,7 +151,8 @@ fi
 
 export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
 
-for b in `ls ${PRODUCT_WORK}/bin`; do
+for b in `find bin -mindepth 1 -maxdepth 1 -name "*"`; do
+    b=`basename $b`;
     if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
        if [ -h ${PRODUCT_DIR}/bin/$b ]; then
            rm -f ${PRODUCT_DIR}/bin/$b