nasser / nostrand

Clojure on Mono
68 stars 11 forks source link

Build fails on Linux with non-bash default shell #14

Open whilo opened 7 years ago

whilo commented 7 years ago

I have tried to build nostrand on Ubuntu 17.04. I have replaced all references to sh in the csproj with bash, but it still fails to build with:

christian@lacan:~/Development/nostrand$ xbuild
XBuild Engine Version 14.0
Mono, Version 4.6.2.0
Copyright (C) 2005-2013 Various Mono authors

Build started 02.07.2017 09:35:37.
__________________________________________________
Project "/home/christian/Development/nostrand/Nostrand.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Release|x64".
    Target Build:
        Project "/home/christian/Development/nostrand/Nostrand.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: x64
            Target PreBuildEvent:
                Executing: 
                      /bin/bash ../../Scripts/pre-build.sh

            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
        Done building project "/home/christian/Development/nostrand/Nostrand.csproj".-- FAILED
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/home/christian/Development/nostrand/Nostrand.sln".-- FAILED
Done building project "/home/christian/Development/nostrand/Nostrand.sln".-- FAILED

Build FAILED.
     0 Warning(s)
     0 Error(s)

Time Elapsed 00:00:00.2741790

I am not sure how to fix the failure. Any hints?

nasser commented 7 years ago

What shell are you using?

whilo commented 7 years ago
christian@lacan ~> ls -lah /bin/sh 
lrwxrwxrwx 1 root root 4 Okt 17  2016 /bin/sh -> dash*