mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 15:10:55 +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