From 493ac479e2beded9627880eaca324f612d9cafa1 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Sun, 17 Oct 2021 18:57:14 -0500 Subject: fix: fixed wsl install --- scripts/mkln.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mkln.sh b/scripts/mkln.sh index 129a706..b5806a6 100755 --- a/scripts/mkln.sh +++ b/scripts/mkln.sh @@ -83,7 +83,7 @@ target=$(wslpath -w $(dirname $2))\\$(basename $2) if ls -la "$(dirname $2)/" 2>/dev/null | grep -q "$(basename $2)"; then - current_path=$(powershell.exe -c "(Get-Item $target).Target") + current_path=$(powershell.exe -c "(Get-Item $target).Target" 2>/dev/null) if [[ "${current_path/*wsl$/}" == *"${source/*wsl$/}"* ]]; then [ "$VERBOSE" == true ] && echo "$(basename $2) is set correctly. Skipping." -- cgit v1.2.3-70-g09d2