Comments (3)
Cheers Benjamin, although I'd expect the distro to be identified as Darwin?
Also, can you provide these fixes as pull requests at all?
Cheers
A
On Thursday, August 15, 2013, bsergean wrote:
I'm getting errors when I'm running configure.sh, I've fixed it so I get
some relevant info on a Mac. This is what with the fix:detecting OS distribution...
OS distribution is: Appledetecting OS distribution version...
OS distribution version is: 10.8.3Patch:
diff --git a/configure.sh b/configure.sh
index 29d2148..c6f2e6c 100755
--- a/configure.sh
+++ b/configure.sh
@@ -246,6 +246,9 @@ if [ "$distro" == "" ]; then
distro=lsb_release -i | awk '{print $NF}'
if [ $? -ne 0 ]; then distro=; fi
fi
- if [ "$osname" == "Darwin" ]; then
distro=Apple
- fi
if [ "$distro" == "" ]; then
echo $echoerr"Could not identify OS distribution - $or_set""REZCONFIG_DISTRO" 1>&2
echo "Setting to DISTRO_UNKNOWN-0!"$echoreset 1>&2
@@ -263,6 +266,10 @@ if [ "$distro_version" == "" ]; then
distro_version=lsb_release -r | awk '{print $NF}'
if [ $? -ne 0 ]; then distro_version=; fi
fi- if [ "$osname" == "Darwin" ]; then
distro_version=`sw_vers -productVersion`
if [ $? -ne 0 ]; then distro_version=; fi
- fi
if [ "$distro_version" == "" ]; then
echo $echoerr"Could not identify OS distribution version - $or_set""REZCONFIG_DISTRO_VERSION" 1>&2
echo "Setting to 0!"$echoreset 1>&2—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25
.
from rez.
I would say that the OS is Darwin, and the vendor is Apple, that's why I
went with Distribution = Apple.
But hey, I just made this up, so Darwin is probably good as well, I don't
mind too much :)
MacOSX is probably a good option too.
I played with git a long time ago so I have to refresh my memory on
creating pull request, I looked that
up online but I haven't tried to hard.
Cheers,
- Benjamin
- Benjamin
On Wed, Aug 14, 2013 at 5:04 PM, allan johns [email protected]:
Cheers Benjamin, although I'd expect the distro to be identified as
Darwin?Also, can you provide these fixes as pull requests at all?
Cheers
AOn Thursday, August 15, 2013, bsergean wrote:
I'm getting errors when I'm running configure.sh, I've fixed it so I get
some relevant info on a Mac. This is what with the fix:detecting OS distribution...
OS distribution is: Appledetecting OS distribution version...
OS distribution version is: 10.8.3Patch:
diff --git a/configure.sh b/configure.sh
index 29d2148..c6f2e6c 100755
--- a/configure.sh
+++ b/configure.sh
@@ -246,6 +246,9 @@ if [ "$distro" == "" ]; then
distro=lsb_release -i | awk '{print $NF}'
if [ $? -ne 0 ]; then distro=; fi
fi
- if [ "$osname" == "Darwin" ]; then
- distro=Apple
- fi
if [ "$distro" == "" ]; then
echo $echoerr"Could not identify OS distribution -
$or_set""REZCONFIG_DISTRO" 1>&2
echo "Setting to DISTRO_UNKNOWN-0!"$echoreset 1>&2
@@ -263,6 +266,10 @@ if [ "$distro_version" == "" ]; then
distro_version=lsb_release -r | awk '{print $NF}'
if [ $? -ne 0 ]; then distro_version=; fi
fi- if [ "$osname" == "Darwin" ]; then
- distro_version=
sw_vers -productVersion
- if [ $? -ne 0 ]; then distro_version=; fi
- fi
if [ "$distro_version" == "" ]; then
echo $echoerr"Could not identify OS distribution version -
$or_set""REZCONFIG_DISTRO_VERSION" 1>&2
echo "Setting to 0!"$echoreset 1>&2—
Reply to this email directly or view it on GitHub<
https://github.com/nerdvegas/rez/issues/25>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-22676876
.
from rez.
Works nicely in the osx branch, closing.
from rez.
Related Issues (20)
- rez-pkg-cache the case of pachage'name HOT 2
- TSC Meeting 2024-05-16
- Combined packages (multi packages) fail on windows
- Rez use powershell to render houdini will lost $HIP and $F HOT 8
- build_requires with @late can not run rez env -b to create build env
- Inconsistent normalization of config paths can break handling of local packages path
- Unrecognised package repository plugin: 'memory' HOT 1
- TSC Meeting 2024-06-20
- Using aliases in Powershell muffles exit code
- Backslash in rezconfig.py causing errors on fresh windows installations. HOT 1
- _VersionRangeParser regex don't match `range_desc` example HOT 3
- Pip remaps - error when install HOT 1
- rez-env python -- which python failed HOT 1
- rez-bundle throws subprocess.Popen error
- PowerShell alias calling non-existent command returns 0 exit code HOT 1
- ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
- Can't escape dollar sign in Powershell string
- When I run rez-env, I get an error of "no shells available" HOT 1
- Hooks for package caching? HOT 4
- Use pyinstaller to build a portable rez edition HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rez.