mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-29 04:23:42 +00:00
tomb-open fix awk for name containing paths
This commit is contained in:
parent
75497a2382
commit
6bb655df0b
@ -155,8 +155,9 @@ launch_status() {
|
||||
|
||||
if [ $DISPLAY ]; then
|
||||
tombname=${1}
|
||||
tombmap=`mount -l | awk "/\[${tombname}\]$/"' { print $1 } '`
|
||||
tombmount=`mount -l | awk "/\[${tombname}\]$/"' { print $3 } '`
|
||||
tombbase=`basename $tombname`
|
||||
tombmap=`mount -l | awk "/\[${tombbase}\]\$/"' { print $1 } '`
|
||||
tombmount=`mount -l | awk "/\[${tombbase}\]\$/"' { print $3 } '`
|
||||
if [ -x ./tomb-status ]; then # launch from build dir
|
||||
./tomb-status $tombmap $tombname $tombmount &!
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user