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