Skip to content

Commit

Permalink
style: consolidate bash variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Feb 20, 2024
1 parent 1bf42aa commit 8c73734
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/champagne
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash

SCRIPTNAME="$BASH_SOURCE"
SCRIPTDIRNAME=$(readlink -f $(dirname "$SCRIPTNAME"))
TOOLDIR=$(dirname "$SCRIPTDIRNAME")
TOOLNAME=$(basename "$SCRIPTNAME")
TOOLDIR=$(realpath $(dirname $(dirname ${BASH_SOURCE})))

${TOOLDIR}/main.py "$@"

0 comments on commit 8c73734

Please sign in to comment.