From 6284b82a97fe143391e96e8552e6e01271cc9743 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 9 Mar 2018 18:34:44 +0300 Subject: [PATCH] fixed portability issue in Makefile... Signed-off-by: Alex A. Naanou --- ui (gen4)/Makefile | 11 ++++++++++- ui (gen4)/features/store.js | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/Makefile b/ui (gen4)/Makefile index 228f9e93..57853b37 100755 --- a/ui (gen4)/Makefile +++ b/ui (gen4)/Makefile @@ -129,8 +129,17 @@ # #********************************************************************** .SECONDEXPANSION: -# variables... +# basic configuration... +# This prevents pipe and redirection sequensing difference errors between +# Windows and *NIX systmes for commands like: +# cat package.json | sed 's/"index.html"/"e.js"/g' > package.json +# ...which would produce zero-length results under cmp/powershell. +SHELL := $(shell which sh) + + + +# variables... APP_NAME ?= ImageGrid.Viewer diff --git a/ui (gen4)/features/store.js b/ui (gen4)/features/store.js index 0bc4572d..b6e70541 100755 --- a/ui (gen4)/features/store.js +++ b/ui (gen4)/features/store.js @@ -369,6 +369,7 @@ var StoreActions = actions.Actions({ // XXX LEGACY STUFF... (???) + // ...this is currently used to store config... // XXX REVISE API