Skip to content

Commit

Permalink
Fixed determine path
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Morshenyuk committed Jul 19, 2018
1 parent 495f926 commit d8d51d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Formula/sceptrefun.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Sceptrefun < Formula
end

depends_on "mplayer"
depends_on "coreutils"

def install
bin.install "sceptrefun"
Expand Down
2 changes: 1 addition & 1 deletion sceptrefun
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BASEDIR=$(dirname "$0")
BASEDIR=$(cd "$(dirname "$(dirname "$(greadlink -f $0)")")" && pwd)

SCEPTRE_SUCCESS="$BASEDIR/assets/war3_jobdone.mp3"
SCEPTRE_UPGRADE_STACK="$BASEDIR/assets/war3_jobdone.mp3"
Expand Down

0 comments on commit d8d51d4

Please sign in to comment.