We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f479e09 commit f1f3267Copy full SHA for f1f3267
plugins/envsetup
@@ -61,6 +61,12 @@ msg() {
61
}
62
# lshout () { echo -e "${*}";:; }
63
64
+trim_quotes() {
65
+ # Usage: trim_quotes "string"
66
+ : "${1//\'}"
67
+ printf '%s\n' "${_//\"}"
68
+}
69
+
70
do_mount() {
71
local chroot_dir=$1
72
points="$chroot_dir/dev $chroot_dir/sys $chroot_dir/proc"
@@ -358,7 +364,7 @@ setup_user()
358
364
359
365
run_cmd "apt update"
360
366
install_pkg "openssl"
361
- run_cmd "$CMD"
367
+ run_cmd "$(trim_quotes $CMD)"
362
368
run_cmd "$pass_set_cmd"
363
369
370
0 commit comments