mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-22 14:38:25 +00:00
tomb-open is relative to tomb
This commit is contained in:
parent
105a0e14c1
commit
9e32766e07
9
src/tomb
9
src/tomb
@ -26,7 +26,7 @@
|
||||
VERSION=1.2
|
||||
DATE=Nov/2011
|
||||
TOMBEXEC=$0
|
||||
TOMBOPENEXEC="tomb-open"
|
||||
TOMBOPENEXEC="${TOMBEXEC}-open"
|
||||
typeset -a OLDARGS
|
||||
for arg in ${argv}; do OLDARGS+=($arg); done
|
||||
STEGHIDE=1
|
||||
@ -138,13 +138,6 @@ check_bin() {
|
||||
which mktemp > /dev/null || MKTEMP=0
|
||||
# check for steghide
|
||||
which steghide > /dev/null || STEGHIDE=0
|
||||
|
||||
# check for tomb-open script
|
||||
if [ "$0" = "./tomb" ]; then
|
||||
TOMBOPENEXEC="./tomb-open"
|
||||
elif [ "$0" != "tomb" ]; then
|
||||
TOMBOPENEXEC="`dirname $0`/tomb-open"
|
||||
fi
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user