Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed executable right to avoid strip failure on startup scripts at…
… make install and protect other environment variables from space in path
- Loading branch information
Showing
2 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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" |