From 49464f028521dfbad492ba714d9d3886132a09e2 Mon Sep 17 00:00:00 2001 From: alvaro <alvaro@alia.(none)> Date: Thu, 7 Feb 2013 08:50:16 -0800 Subject: [PATCH] Fixed utils/* script to replace / with %2F multiple times --- README.md | 2 +- common.inc.php | 2 +- utils/modules/create-service.sh | 2 +- utils/modules/delete-service.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2ab26ac4..6c2f4b82 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ LODSPeaKr author: Alvaro Graves (alvaro@graves.cl) -version: 20130206 +version: 20130207 [LODSPeaKr](http://lodspeakr.org) is a framework for creating Linked Data applications in a simple and easy way. You can see [several applications](http://alangrafu.github.com/lodspeakr/applications.html) created using LODSPeaKr. diff --git a/common.inc.php b/common.inc.php index 0dbb2048..172bdf3e 100644 --- a/common.inc.php +++ b/common.inc.php @@ -1,6 +1,6 @@ <?php -$conf['version'] = '20130206'; +$conf['version'] = '20130207'; $conf['output']['select'] = 'json'; $conf['output']['ask'] = 'json'; $conf['output']['describe'] = 'rdf'; diff --git a/utils/modules/create-service.sh b/utils/modules/create-service.sh index fb97abf8..d2cbfcc3 100755 --- a/utils/modules/create-service.sh +++ b/utils/modules/create-service.sh @@ -5,7 +5,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" initToken='services' cd $DIR -serviceName=${1/\//%2F} +serviceName=`echo $1 |sed 's/\//%2F/g'` #Check models mainDir=$DIR/../../components/$initToken/$serviceName/ diff --git a/utils/modules/delete-service.sh b/utils/modules/delete-service.sh index f36b9100..7eb6d77f 100755 --- a/utils/modules/delete-service.sh +++ b/utils/modules/delete-service.sh @@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" initToken='services' -serviceName=${1/\//%2F} +serviceName=`echo $1 |sed 's/\//%2F/g'` #Check models -- GitLab