Navigation Menu

Skip to content

Commit

Permalink
Removed executable right to avoid strip failure on startup scripts at…
Browse files Browse the repository at this point in the history
… make install and protect other environment variables from space in path
  • Loading branch information
babs committed Jan 23, 2013
1 parent eb63025 commit 63ca2f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Empty file modified start-pgmodeler-mac.sh 100755 → 100644
Empty file.
15 changes: 7 additions & 8 deletions start-pgmodeler.sh 100755 → 100644
@@ -1,11 +1,10 @@
#/bin/bash #/bin/bash
SCRIPT=$(readlink -f $0 | sed -e 's/ /\\ /g') export PGMODELER_ROOT="$(dirname "$(readlink -f $0 | sed -e 's/ /\\ /g')")"
export PGMODELER_ROOT=`dirname "$SCRIPT"` export PGMODELER_CONF_DIR="$PGMODELER_ROOT/conf"
export PGMODELER_CONF_DIR=$PGMODELER_ROOT/conf export PGMODELER_SCHEMAS_DIR="$PGMODELER_ROOT/schemas"
export PGMODELER_SCHEMAS_DIR=$PGMODELER_ROOT/schemas export PGMODELER_LANG_DIR="$PGMODELER_ROOT/lang"
export PGMODELER_LANG_DIR=$PGMODELER_ROOT/lang export PGMODELER_TMP_DIR="$PGMODELER_ROOT/tmp"
export PGMODELER_TMP_DIR=$PGMODELER_ROOT/tmp export PGMODELER_PLUGINS_DIR="$PGMODELER_ROOT/plugins"
export PGMODELER_PLUGINS_DIR=$PGMODELER_ROOT/plugins export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$PGMODELER_ROOT/lib"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PGMODELER_ROOT/lib


"$PGMODELER_ROOT/pgmodeler" "$PGMODELER_ROOT/pgmodeler"

0 comments on commit 63ca2f5

Please sign in to comment.