Skip to content

Commit

Permalink
test: revert shebang and try param expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 19, 2023
1 parent 2fa5662 commit c1c3f1e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/env.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
#!/bin/sh

[ -z "${BASH_SOURCE[0]}" ] && thisEnv=$0 || thisEnv=${BASH_SOURCE[0]}
if [ -z "${BASH_SOURCE[0]}" ]; then
thisEnv=$0
else
thisEnv=${BASH_SOURCE[0]}
fi
export CLAS12DIR=$(realpath $(dirname $thisEnv)/..)


Expand Down

0 comments on commit c1c3f1e

Please sign in to comment.