From ca4ca930590d762a5465498c85f7451121b8ddc8 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 21 Apr 2004 23:31:51 +0000 Subject: [PATCH] Progetti Linux git-svn-id: svn://10.65.10.50/trunk@11986 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- linux/projects/compile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/linux/projects/compile b/linux/projects/compile index e50b9fe57..59d6ad95e 100755 --- a/linux/projects/compile +++ b/linux/projects/compile @@ -13,10 +13,13 @@ for i in $2*.$srcext do n=`basename $i .$srcext` of=../../exed/$n.$dstext -of1=../../exe/$n.$dstext ./$compiler $i $of +of1=../../exe/$n.$dstext if [ ! -L $of1 ]; then - ln -s $of $of1 + dir=`pwd` + cd ../../exe/ + ln -s ../exed/$n.$dstext $n.$dstext + cd $dir fi done