Browse Source

Added support for SDEROOT to contain links

misl/sde-wrapper
Minto van der Sluis 17 years ago
parent
commit
2b7bef7eec
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      bin/sde

+ 3
- 1
bin/sde

@ -13,6 +13,8 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#Version: 1
set -e
# stand-alone simplified minimal functions
@ -58,7 +60,7 @@ fi
# switching to the right sde wrapper (SDEROOT specific)
#
if [ "$( readlink -f "$0" )" != "$SDEROOT/bin/sde" ]; then
if [ "$( readlink -f "$0" )" != "$( readlink -f "$SDEROOT/bin/sde" )" ]; then
if [ "$1" == "--loop" ]; then
echo_abort 2 'loop detected, abort.'
else

Loading…
Cancel
Save