Skip to content

Commit

Permalink
Location free start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
babs committed Jan 2, 2013
1 parent 9d53c5f commit 2eaa0c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion start-pgmodeler.bat
@@ -1,4 +1,4 @@
@set PGMODELER_ROOT=C:\pgmodeler
@set PGMODELER_ROOT=%~dp0
@set PGMODELER_CONF_DIR=%PGMODELER_ROOT%\conf
@set PGMODELER_SCHEMAS_DIR=%PGMODELER_ROOT%\schemas
@set PGMODELER_LANG_DIR=%PGMODELER_ROOT%\lang
Expand Down
2 changes: 1 addition & 1 deletion start-pgmodeler.sh
@@ -1,5 +1,5 @@
#/bin/bash
export PGMODELER_ROOT="`pwd`"
export PGMODELER_ROOT="$(dirname $(readlink -f $0 ))"
export PGMODELER_CONF_DIR=$PGMODELER_ROOT/conf
export PGMODELER_SCHEMAS_DIR=$PGMODELER_ROOT/schemas
export PGMODELER_LANG_DIR=$PGMODELER_ROOT/lang
Expand Down

0 comments on commit 2eaa0c2

Please sign in to comment.