Repository navigation
On Unix like OSs, look for sqlpackage in directories specified in $PATH - #2700
yazeedobaid merged 2 commits into
Conversation
|
I've tested this out in my Ubuntu environment, where I have a symlink in Environment.pathDirectories
|> Seq.map (fun dir -> !!(dir </> "sqlpackage"))
|> Seq.concat
|> Seq.map (fun path -> path, 15)
val it: seq<string * int> = seq [("/usr/local/bin/sqlpackage", 15)] |
|
Thanks for the PR, |
|
@mattgallagher92 thanks for testing and confirming the fix |
cdb5c3e to
d3accd9
Compare
d3accd9 to
f275631
Compare
|
Thanks for the feedback @yazeedobaid. I was going to argue that it should be the user's responsibility to ensure their I think this order is correct. The directories in Having |
This PR addresses issue #2701 of sqlpackage not existing in the same place on MacOS and Linux distros by following the canonical Unix practice of searching the directories specified by the
PATHenvironment variable instead of using a hard-coded path.