diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2017-09-10 22:24:30 +0200 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2017-09-10 22:50:45 +0200 |
| commit | 3daf752a8718d4d439971e60ebee461c20b6931b (patch) | |
| tree | 41a8b4b4dda472105fcbd90ceee10a46107b46c6 | |
| parent | 9f5436bf7799369a66e109ec9b5047c67da768ad (diff) | |
Remove useless condition
| -rwxr-xr-x | server/autobuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/autobuild b/server/autobuild index 2cdba9f..e371608 100755 --- a/server/autobuild +++ b/server/autobuild @@ -210,11 +210,9 @@ os_nixos() { if ! which nix-shell >/dev/null 2>&1; then return 1 fi - if [ -z "$AUTOBUILD_NIX_SHELL" ]; then - command="AUTOBUILD_NIX_SHELL=true; export AUTOBUILD_NIX_SHELL; $0" - exec nix-shell --pure --command "$command" \ - -p gcc gnumake automake autoconf pkgconfig libpng zlib poppler - fi + command="AUTOBUILD_NIX_SHELL=true; export AUTOBUILD_NIX_SHELL; $0" + exec nix-shell --pure --command "$command" \ + -p gcc gnumake automake autoconf pkgconfig libpng zlib poppler } ## +-----------------------------------------------------------+ |
