mirror of https://github.com/Phantop/appdwarf.git
Fix minor header and AppRun issues
This commit is contained in:
parent
c3a893e920
commit
4899507164
2
AppRun
2
AppRun
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
HERE=$(dirname "$(readlink -f "${0}")")
|
||||
export LD_LIBRARY_PATH="${HERE}":"$PATH"
|
||||
export LD_LIBRARY_PATH="${HERE}":"$LD_LIBRARY_PATH"
|
||||
"${HERE}"/"$APPDWARF_CMD" "$@"
|
||||
|
|
2
headers
2
headers
|
@ -20,7 +20,7 @@ header() {
|
|||
#!/bin/sh
|
||||
DIR="/tmp/dwarf_$(basename "$0")$(echo "$0" | md5sum | head -c5)"
|
||||
export APPDWARF_CMD=$(basename "$0")
|
||||
if [[ ! -d $DIR ]]; then
|
||||
if [ ! -d $DIR ]; then
|
||||
mkdir "$DIR"
|
||||
ARG="-o offset=auto -o tidy_strategy=swap -o workers=4"
|
||||
dwarfs $ARG "$0" "$DIR" 2>/dev/null
|
||||
|
|
Loading…
Reference in New Issue