From e0cd6bb80e60e78d810b13d37106504877f4f265 Mon Sep 17 00:00:00 2001 From: Yindong Date: Mon, 15 Jul 2024 17:17:37 +0800 Subject: [PATCH] remove extra seperator of install root variable. --- make-msys2-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-msys2-installer b/make-msys2-installer index 8904828..30f82e4 100644 --- a/make-msys2-installer +++ b/make-msys2-installer @@ -64,7 +64,7 @@ clean_tmp_dir(){ } install_versioned_packages(){ - echo "export INSTALL_ROOT=\$(cygpath -w /)" >> ${_newmsys}/etc/skel/.bashrc + echo "export INSTALL_ROOT=\$(cygpath -w / | sed 's,[/\\]$,,')" >> ${_newmsys}/etc/skel/.bashrc echo "export VERILATOR_ROOT=\${INSTALL_ROOT}/mingw64/share/verilator" >> ${_newmsys}/etc/skel/.bashrc prepare_tmp_dir for pkg_file in ${_versioned_packages_url}; do