G1sms/shell/test.sh

23 lines
477 B
Bash
Executable File

#!/bin/bash
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
pwd=$(pwd)
if [[ -f $MY_PATH/.profile ]]; then
source $MY_PATH/.profile
elif [[ -f $MY_PATH/../.profile ]]; then
source $MY_PATH/../.profile
else
echo -e "${c_red}Le .profile n'existe pas$c_"
exit 1
fi
source $GPATH/shell/tata.sh || echo "pas trouvé"
echo "je suis là: $GPATH/shell !"
#$GPATH/shell/sms_AIDE.sh $1
exit 0