From: prascle Date: Mon, 13 Mar 2006 09:54:12 +0000 (+0000) Subject: PR: bash is useful on Linux to take into account local .bashrc. TO DO: take system... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=71325953f1fe7e2606e1c8ef01b126be8853c238;p=modules%2Fkernel.git PR: bash is useful on Linux to take into account local .bashrc. TO DO: take system into account to choose bash or sh when installing application. --- diff --git a/bin/appliskel/killCurrentPort b/bin/appliskel/killCurrentPort index cfb87da78..5d0a547cc 100755 --- a/bin/appliskel/killCurrentPort +++ b/bin/appliskel/killCurrentPort @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- retrieve APPLI path, relative to $HOME, set ${APPLI} diff --git a/bin/appliskel/runAppli b/bin/appliskel/runAppli index 7146b6b82..1d86ad3d5 100755 --- a/bin/appliskel/runAppli +++ b/bin/appliskel/runAppli @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- retrieve APPLI path, relative to $HOME, set ${APPLI} diff --git a/bin/appliskel/runConsole b/bin/appliskel/runConsole index 1756189ff..caeabbdd6 100755 --- a/bin/appliskel/runConsole +++ b/bin/appliskel/runConsole @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- retrieve APPLI path, relative to $HOME, set ${APPLI} diff --git a/bin/appliskel/runParam b/bin/appliskel/runParam index 68e5a25c0..c858c670f 100755 --- a/bin/appliskel/runParam +++ b/bin/appliskel/runParam @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ./KillCurrentPort diff --git a/bin/appliskel/runRemote.sh b/bin/appliskel/runRemote.sh index 3ab5a1daf..293ecff6d 100755 --- a/bin/appliskel/runRemote.sh +++ b/bin/appliskel/runRemote.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # --- run command in SALOME environment from remote call, ssh or rsh # - SALOME configuration is defined by : diff --git a/bin/appliskel/runSession b/bin/appliskel/runSession index 1f99cce7b..c0a26ba13 100755 --- a/bin/appliskel/runSession +++ b/bin/appliskel/runSession @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Useful shell to run executable progs or shells under Salome env # Use it with args to run a program : runSession python -i myprog.py diff --git a/bin/appliskel/runTests b/bin/appliskel/runTests index 4ff2bc186..8e360b05d 100755 --- a/bin/appliskel/runTests +++ b/bin/appliskel/runTests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- retrieve APPLI path, relative to $HOME, set ${APPLI} diff --git a/bin/appliskel/searchFreePort.sh b/bin/appliskel/searchFreePort.sh index 7333b1ce7..3fd3c0dd8 100755 --- a/bin/appliskel/searchFreePort.sh +++ b/bin/appliskel/searchFreePort.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- define port for CORBA naming service diff --git a/bin/appliskel/setAppliPath.sh b/bin/appliskel/setAppliPath.sh index 99078065a..d9361ae52 100755 --- a/bin/appliskel/setAppliPath.sh +++ b/bin/appliskel/setAppliPath.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- retrieve APPLI path, relative to $HOME, set ${APPLI} # on sarge, "which" gives not allways the absolute path...