From cc09b07cb5c27e2ac01718a382c35090749811e1 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 5 Jun 2018 18:41:11 +0200 Subject: Fix generate, preview scripts --- pkgs/generate.nix | 5 ++++- pkgs/preview.nix | 1 + source/00_content/meta.xml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/generate.nix b/pkgs/generate.nix index bb7d45a..25f1ca1 100644 --- a/pkgs/generate.nix +++ b/pkgs/generate.nix @@ -6,4 +6,7 @@ let BuildXSLT = pkgs.callPackage ./BuildXSLT.nix {}; in pkgs.writeScriptBin "generate" - "${InputXSLT}/bin/ixslt --input make.xml --transformation ${BuildXSLT}/build.xsl --include ${StaticXSLT}/" + '' + #!/bin/sh + ${InputXSLT}/bin/ixslt --input make.xml --transformation ${BuildXSLT}/build.xsl --include ${StaticXSLT}/ + '' diff --git a/pkgs/preview.nix b/pkgs/preview.nix index 7162838..352de43 100644 --- a/pkgs/preview.nix +++ b/pkgs/preview.nix @@ -3,6 +3,7 @@ pkgs.writeScriptBin "preview" '' + #!/bin/sh pushd target/99_result ${pkgs.python3}/bin/python -m http.server 8080 popd diff --git a/source/00_content/meta.xml b/source/00_content/meta.xml index 8741edc..159ed2b 100644 --- a/source/00_content/meta.xml +++ b/source/00_content/meta.xml @@ -2,5 +2,5 @@