Skip to content

Commit

Permalink
Merge pull request #182 from SaqibS/master
Browse files Browse the repository at this point in the history
Setup tweaks to enable easier running of Bash from Gow
  • Loading branch information
Brent Matzelle committed Apr 29, 2015
2 parents 7e268e3 + e1004d7 commit 75d05a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .bashrc
@@ -0,0 +1,5 @@
export HOME=$(echo "/$USERPROFILE" | sed -e 's/\\/\//g' -e 's/://')
if [ -e ~/.bashrc ]
then
source ~/.bashrc
fi
7 changes: 7 additions & 0 deletions setup/Gow.nsi
Expand Up @@ -129,6 +129,13 @@ Function Files
; Setup files
SetOutPath "$INSTDIR\setup"
File /r "${SRC_DIR}\setup\*.vbs"

; Bash requires the etc directory to be present.
CreateDirectory "$INSTDIR\etc"

; Default Bash configuration to set user's home directory, and load user-specific settings.
SetOutPath "$INSTDIR"
File "${SRC_DIR}\.bashrc"
FunctionEnd

; Starts the installation
Expand Down

0 comments on commit 75d05a9

Please sign in to comment.