From ca586bd6002658ef6bce27d4066cff269b06c7d5 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Thu, 11 Aug 2022 09:35:43 +0200 Subject: [PATCH] Utiliser une variable pour le dossier de destination --- hooks/build/marp-compiler/compile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hooks/build/marp-compiler/compile b/hooks/build/marp-compiler/compile index 8ab4966..6e57a90 100755 --- a/hooks/build/marp-compiler/compile +++ b/hooks/build/marp-compiler/compile @@ -1,4 +1,6 @@ -#!/bin/ash +#!/usr/bin/env bash -cd /src +export DESTDIR=/dist +pushd /src ./build +popd