Permalink
Browse files

fixes #824 more generic code to get current script directory (working…

… both on Linux and MacOSX)
  • Loading branch information...
plegall committed Dec 18, 2017
1 parent 1da9d6a commit 9e29db04818273086c7fabf4ab8c6bc44d74e6d3
Showing with 2 additions and 1 deletion.
  1. +2 −1 tools/pwg_rel_create.sh
View
@@ -1,6 +1,7 @@
#!/bin/bash
scriptdir=$(dirname $(readlink -e $0))
script_abspath=$(perl -e 'use Cwd "abs_path"; print abs_path(@ARGV[0])' -- "$0")
scriptdir=$(dirname $script_abspath)
# +--------------------------------------------------------------------------+
# | pwg_rel_create.sh |

0 comments on commit 9e29db0

Please sign in to comment.