From ea522742c58e4819e4c4b2db29f77e0bf1b5b5eb Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 12 Mar 2016 00:52:58 +0100 Subject: Bugfix : dont use fixed path for source path --- generator/quick.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'generator/quick.sh') diff --git a/generator/quick.sh b/generator/quick.sh index e6240c9..1c7e7e8 100755 --- a/generator/quick.sh +++ b/generator/quick.sh @@ -17,8 +17,11 @@ # You should have received a copy of the GNU General Public License # along with CHD Gestion. If not, see . # +this=$(readlink -f $0) +src_dir=$(dirname $this) + cd /var/www/chd_gestion # Ecarsement de certains modèles générés -rsync -aib --backup-dir=../src.orig /root/chd_gestion_generator/after-bake/src/ ./src/ +rsync -aib --backup-dir=../src.orig "$src_dir/after-bake/src/" ./src/ -- cgit v1.1