Skip to content

Commit

Permalink
make gxi script more portable
Browse files Browse the repository at this point in the history
  • Loading branch information
zmyrgel committed Sep 24, 2018
1 parent adc9722 commit 1acf702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gerbil/gxi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
set -eu

if [ -z "${GERBIL_HOME:-}" ]; then
Expand All @@ -24,7 +24,7 @@ if [ $# -gt 0 ]; then
esac
fi

if [[ "x" = "x$@" ]]; then
if [ $# -eq 0 ]; then
exec gsi ${GSIOPTIONS:-} $GERBIL_HOME/lib/gxi-init $GERBIL_HOME/lib/gxi-interactive -
else
exec gsi ${GSIOPTIONS:-} $GERBIL_HOME/lib/gxi-init "$@"
Expand Down

0 comments on commit 1acf702

Please sign in to comment.