Skip to content

Commit

Permalink
Fixed base dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Morshenyuk committed Jul 19, 2018
1 parent e3406ba commit 8bd483c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sceptrefun
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash

if [ -L $0 ] ; then
BASEDIR=$(cd "$(dirname "$(readlink $0)")"; pwd -P) # for symbolic link
else
BASEDIR=$(cd "$(dirname "$0")"; pwd -P) # for normal file
fi
BASEDIR=$(dirname "$0")

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

0 comments on commit 8bd483c

Please sign in to comment.