switch to unix-style paths because... powershell?
authorAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 22:00:30 +0000 (22:00 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 22:00:30 +0000 (22:00 +0000)
_webi/template.ps1
_webi/webi.ps1
git/install.ps1
golang/install.ps1
node/install.ps1

index 4ca9fe1e18259a5cf62420790d6dc2572f476900..5eca6fac01b204046225309ee25e5b71d897099b 100644 (file)
@@ -34,7 +34,8 @@ if (!(Test-Path -Path .local\opt))
 # {{ version }}
 
 # Run pathman to set up the folder
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\bin"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/bin
+#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\bin"
 #& "$Env:USERPROFILE\.local\bin\pathman.exe" add %USERPROFILE%\.local\bin
 
 {{ installer }}
index ac4886fd2d7648bf795449a157c2ce1b3b78adfb..b879673d9576cf04d06f2e166ece1c7730c14809 100644 (file)
@@ -48,7 +48,8 @@ if (!(Test-Path -Path .local\bin\pathman.exe))
 }
 
 # Run pathman to set up the folder
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\bin"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/bin
+#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\bin"
 #& "$Env:USERPROFILE\.local\bin\pathman.exe" add %USERPROFILE%\.local\bin
 
 # {{ baseurl }}
index bf53e2108b9612d49bda383d8b92f1235f25f4bf..d47b2095e6998dd62565135ea4860ea4a52a25df 100644 (file)
@@ -53,5 +53,6 @@ Remove-Item -Path "$pkg_dst" -Recurse -ErrorAction Ignore
 Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse
 
 # Add to path
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\opt\git\cmd"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/opt/git/cmd
+#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\opt\git\cmd"
 #& "$Env:USERPROFILE\.local\bin\pathman.exe" add %USERPROFILE%\.local\opt\git\cmd
index 5649e07251d53e3f79423706db8d89ccb20a6bc0..eb0dab1e6f0501f7f27cb0a07bcaaa603455cf7a 100644 (file)
@@ -74,9 +74,11 @@ echo stringer
 & "$pkg_dst_cmd" get golang.org/x/tools/cmd/stringer 
 
 # Add to path
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\opt\go\bin"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/opt/go/bin"
+#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\opt\go\bin"
 #& "$Env:USERPROFILE\.local\bin\pathman.exe" add %USERPROFILE%\.local\opt\go\bin
 
 # Special to go: add default GOBIN to PATH
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\go\bin"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/go/bin
+#& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\go\bin"
 #& "$Env:USERPROFILE\.local\bin\pathman.exe" add %USERPROFILE%\go\bin
index 75b557ece937ff29d9e4636f09dcd3b5a950ff02..0d475fcec97dd8cd632766e79214676e4410e9aa 100644 (file)
@@ -44,4 +44,4 @@ Copy-Item -Path "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION" -
 & .\.local\opt\node\npm.cmd --scripts-prepend-node-path=true config set scripts-prepend-node-path true
 
 # Add to path
-& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\opt\node"
+& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/opt/node