From 9ea0bb59443d219ea4ea6a646f8d6fa962f4707b Mon Sep 17 00:00:00 2001 From: Joshua Bussdieker Date: Mon, 23 Jan 2012 22:27:38 -0800 Subject: [PATCH] Changed my mind it's fine if ~ expands in the env file. --- binscripts/gvm-installer | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/binscripts/gvm-installer b/binscripts/gvm-installer index 5d7e93e..2771934 100644 --- a/binscripts/gvm-installer +++ b/binscripts/gvm-installer @@ -41,10 +41,8 @@ else echo "Maybe send me the file name and I'll look for it next time :)" echo fi - echo "export GVM_ROOT=~/$GVM_NAME" > $GVM_DEST/$GVM_NAME/scripts/gvm - else - echo "export GVM_ROOT=$GVM_DEST/$GVM_NAME" > $GVM_DEST/$GVM_NAME/scripts/gvm fi + echo "export GVM_ROOT=$GVM_DEST/$GVM_NAME" > $GVM_DEST/$GVM_NAME/scripts/gvm echo "source \$GVM_ROOT/scripts/gvm-default" >> $GVM_DEST/$GVM_NAME/scripts/gvm [[ -s "$GVM_DEST/$GVM_NAME/scripts/gvm" ]] && source "$GVM_DEST/$GVM_NAME/scripts/gvm" echo "Installed GVM v$GVM_VERSION"