Skip to content
Browse files

Changed '.' with 'source' for readability

  • Loading branch information...
1 parent b096b5e commit 222cf3b0f1a653224d1cf84228e0450ee8c6a5af @Samsagax Samsagax committed Aug 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 install
View
2 install
@@ -41,7 +41,7 @@ install_step detectoldversion
# definition of tools (like $LSPCI) as well as command options parsing and
# options like installation path. It's a special case as it needs to be able to
# access the commandline options, therefore do not use install_step
-. stages/setvars
+source stages/setvars
@paulvriens
paulvriens added a note Aug 20, 2011

I've seen several issues on the old bumblee with using 'source' instead of '.'. Mainly because people couldn't read and did a 'sh install.sh' instead of either using bash or relying on the Sha-Bang.

@Lekensteyn
Bumblebee-Project member
Lekensteyn added a note Aug 20, 2011

What does sh vs bash have to do with this change? Because of the sh install.sh confusion, we've decided to drop the .sh extension already.

@Samsagax
Bumblebee-Project member
Samsagax added a note Aug 20, 2011

This will depend on system configuration, when 'sh' points to '/bin/dash' that would fail, same as a lot of our code. When bash is used there is no problem. We just have to make sure that no one uses 'sh' before any of our executable files.

@Lekensteyn
Bumblebee-Project member
Lekensteyn added a note Aug 20, 2011

Fixed bash issue in cdd23d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
install_step checkprivileges

0 comments on commit 222cf3b

Please sign in to comment.
Something went wrong with that request. Please try again.