nuclide.sh: Small tweak for compatibility
This commit is contained in:
parent
8aee63968d
commit
e80cd05ef8
6
nuclide
6
nuclide
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
SRCPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )"
|
SRCPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )"
|
||||||
|
|
||||||
cd "$SRCPATH/bin"
|
cd "$SRCPATH/bin"
|
||||||
|
|
||||||
if [ -f "$SRCPATH"/bin/fteqw ]; then
|
if [ -f "$SRCPATH/bin/fteqw" ]; then
|
||||||
if [[ -z "${NUCLIDE_GDB}" ]]; then
|
if [ -z "$NUCLIDE_GDB" ]; then
|
||||||
./fteqw -basedir ../ $*
|
./fteqw -basedir ../ $*
|
||||||
else
|
else
|
||||||
gdb --args ./fteqw -basedir ../ $*
|
gdb --args ./fteqw -basedir ../ $*
|
||||||
|
|
Loading…
Reference in New Issue