Use $__explorer to get os type
This commit is contained in:
parent
005c94556e
commit
a50830dca8
3 changed files with 3 additions and 6 deletions
|
@ -22,8 +22,7 @@
|
|||
#
|
||||
|
||||
destination="/$__object_id"
|
||||
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
|
||||
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
|
||||
os=$("$__explorer/os")
|
||||
|
||||
case "$os" in
|
||||
"freebsd")
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
#
|
||||
|
||||
destination="/$__object_id"
|
||||
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
|
||||
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
|
||||
os=$("$__explorer/os")
|
||||
|
||||
case "$os" in
|
||||
"freebsd")
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
#
|
||||
|
||||
destination="/$__object_id"
|
||||
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
|
||||
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
|
||||
os=$("$__explorer/os")
|
||||
|
||||
case "$os" in
|
||||
"freebsd")
|
||||
|
|
Loading…
Reference in a new issue