Former-commit-id:ea1c82452b
[formerly65e1e4ee0b
[formerly 56068aa96fa6daf113861476bf4b7aebe2021ca4]] Former-commit-id:65e1e4ee0b
Former-commit-id:4453ad2d10
31 lines
491 B
Bash
31 lines
491 B
Bash
#!/bin/bash
|
|
|
|
# This Script Should Only Be Run By The ADE Eclipse Shortcuts.
|
|
# Any User That Attempts To Run This Script Manually May
|
|
# Encounter Unexpected Behavior.
|
|
|
|
dir=${0%/*}
|
|
if [ "${dir}" = "$0" ]; then
|
|
dir="."
|
|
fi
|
|
|
|
cd ${dir}
|
|
|
|
# Attempt To Run The Eclipse Script.
|
|
|
|
./eclipse.sh
|
|
RC="$?"
|
|
|
|
if [ ! "${RC}" = "0" ]; then
|
|
sleep 50
|
|
exit 1
|
|
fi
|
|
|
|
COUNT=5
|
|
echo -n "This Terminal Will Close In ..."
|
|
while [ ! "${COUNT}" = "0" ]
|
|
do
|
|
echo -n " ${COUNT}"
|
|
let COUNT=COUNT-1
|
|
sleep 2
|
|
done
|