bash scripts/CreaTools-compile.sh
# To allow (*very* aware) user to patch code, later
-
- chown -R $loginUserName $generationdir/creatools_source
- chgrp -R $loginGroupName $generationdir/creatools_source
- # Too much time consuming
- #chown -R $loginUserName $generationdir/creatools_source
- #chgrp -R $loginGroupName $generationdir/creatools_source
+ if [ -e $loginUserName $generationdir/creatools_source ]
+ then
+ echo "You probabely made a mistake : "
+ echo "Directory $loginUserName $generationdir/creatools_source not found"
+ echo "Make sure you know the mistake"
+ echo "Hit any key to continue"
+ echo "Fix the mistake!"
+ read a
+ else
+ chown -R $loginUserName $generationdir/creatools_source
+ chgrp -R $loginGroupName $generationdir/creatools_source
+ # Too much time consuming
+ #chown -R $loginUserName $generationdir/creatools_source
+ #chgrp -R $loginGroupName $generationdir/creatools_source
+ fi
;;
4)