diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/mkapplinks')
-rwxr-xr-x | sca-cpp/trunk/modules/edit/mkapplinks | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/edit/mkapplinks b/sca-cpp/trunk/modules/edit/mkapplinks index 94f455ba48..a68a2896ec 100755 --- a/sca-cpp/trunk/modules/edit/mkapplinks +++ b/sca-cpp/trunk/modules/edit/mkapplinks @@ -17,16 +17,21 @@ # specific language governing permissions and limitations # under the License. -# Create app links and sub-directories if needed +aprefix=$1 +tprefix=$2 +nprefix=$3 + +# Create app links to Nuvem and Tuscany components +cd $1 for n in `ls apps | awk '{ printf "apps/%s/nuvem\n", $1 }'`; do if [ ! -e "$n" ]; then - ln -s ../../../../../nuvem/nuvem-parallel/nuvem "$n" + ln -s "$nprefix/nuvem-parallel/nuvem" "$n" fi done for n in `ls apps | awk '{ printf "apps/%s/lib\n", $1 }'`; do if [ ! -e "$n" ]; then - ln -s ../../../../components "$n" + ln -s "$tprefix/components" "$n" fi done |