Skip to content

Commit

Permalink
Fixing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
brandur committed Jan 8, 2012
1 parent ed1fb16 commit a72dd50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/release
Expand Up @@ -7,9 +7,10 @@ BUILD_DIR=$1
# try to find a suitable directory to start the app from
WEB_ROOT=${BUILD_DIR}
if [ ! -f "${BUILD_DIR}/bin" ]; then
SLN=$(find . -maxdepth 1 -iname "*.sln")
SLN_DIR=${SLN%%.sln}
SLN_DIR=${SLN%%.SLN}
# assume there's only one .sln because we check for that in compile
SLN=$(find "$BUILD_DIR" -maxdepth 1 -iname "*.sln")
SLN_DIR="${SLN%%.sln}"
SLN_DIR="${SLN%%.SLN}"
if [ -f "${SLN}" ]; then
WEB_ROOT=$SLN_DIR
fi
Expand Down

0 comments on commit a72dd50

Please sign in to comment.