Skip to content

Commit

Permalink
Fix defect: Incorrect usage of uname on OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Mar 22, 2013
1 parent 8c44662 commit abcba47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/scripts/install.sh
Expand Up @@ -33,7 +33,7 @@ gvm_bash_profile="${HOME}/.bash_profile"
gvm_profile="${HOME}/.profile"
gvm_bashrc="${HOME}/.bashrc"
gvm_zshrc="${HOME}/.zshrc"
gvm_platform=$(uname -o)
gvm_platform=$(uname)

gvm_init_snippet=$( cat << EOF
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/scripts/selfupdate.sh
Expand Up @@ -36,7 +36,7 @@ case "`uname`" in
;;
esac

gvm_platform=$(uname -o)
gvm_platform=$(uname)
gvm_bin_folder="${GVM_DIR}/bin"
gvm_tmp_zip="${GVM_DIR}/tmp/res-${GVM_VERSION}.zip"
gvm_stage_folder="${GVM_DIR}/tmp/stage"
Expand Down

0 comments on commit abcba47

Please sign in to comment.