Fix runscript.sh
This commit is contained in:
parent
c2860211a1
commit
e19d330044
@ -16,18 +16,18 @@ if [ -n "${RIOT_USE_ELECTRON}" ];then
|
||||
if [ -x "${RIOT_USE_ELECTRON}" ];then
|
||||
exec "${RIOT_USE_ELECTRON}" .
|
||||
fi
|
||||
echo "`${RIOT_USE_ELECTRON}` is not executable!" >&2
|
||||
echo "'${RIOT_USE_ELECTRON}' is not executable!" >&2
|
||||
exit 2
|
||||
fi
|
||||
if [ ! -e "/usr/bin/electron" ];then
|
||||
echo "No electron symlink found in `/usr/bin`!" >&2
|
||||
echo "Use `eselect electron` to set the symlink" >&2
|
||||
echo "No electron symlink found in '/usr/bin'!" >&2
|
||||
echo "Use 'eselect electron' to set the symlink" >&2
|
||||
exit 3
|
||||
fi
|
||||
if [ ! -x "/usr/bin/electron" ];then
|
||||
echo "`/usr/bin/electron` is not executable!" >&2
|
||||
echo "'/usr/bin/electron' is not executable!" >&2
|
||||
echo "Did you set the symlink correctly?" >&2
|
||||
echo "Use `eselect electron` to set the symlink" >&2
|
||||
echo "Use 'eselect electron' to set the symlink" >&2
|
||||
exit 4
|
||||
fi
|
||||
exec /usr/bin/electron .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user