[GH-ISSUE #435] Function __unquote_string is missing in libvirt-bootstrap.sh #325

Closed
opened 2026-02-27 16:38:53 +03:00 by kerem · 0 comments
Owner

Originally created by @alexgit2k on GitHub (Sep 19, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/435

libvirt-bootstrap.sh failes on RHEL 7, because function __unquote_string is missing:

#---  FUNCTION  -------------------------------------------------------------------------------------------------------
#          NAME:  __unquote_string
#   DESCRIPTION:  Strip single or double quotes from the provided string.
#----------------------------------------------------------------------------------------------------------------------
__unquote_string() {
    echo "${@}" | sed "s/^\([\"']\)\(.*\)\1\$/\2/g"
}
Originally created by @alexgit2k on GitHub (Sep 19, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/435 libvirt-bootstrap.sh failes on RHEL 7, because function __unquote_string is missing: <pre> #--- FUNCTION ------------------------------------------------------------------------------------------------------- # NAME: __unquote_string # DESCRIPTION: Strip single or double quotes from the provided string. #---------------------------------------------------------------------------------------------------------------------- __unquote_string() { echo "${@}" | sed "s/^\([\"']\)\(.*\)\1\$/\2/g" } </pre>
kerem closed this issue 2026-02-27 16:38:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#325
No description provided.