Compare commits
No commits in common. "a0602c820c4ee7bf3c790bfd513ed3a609b93f48" and "4a0b0896bb7fe47d6f7610c147fdea621644d156" have entirely different histories.
a0602c820c
...
4a0b0896bb
@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash -
|
|
||||||
# set -x
|
|
||||||
|
|
||||||
if [ $# -eq 2 ]; then
|
|
||||||
test mkdir -p $1 && cd $1 && git clone $2
|
|
||||||
exit $?
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Usage: ./${0##*/} <workspace-directory> <path-to-customer-repository>
|
|
17
load_tariff
17
load_tariff
@ -1,23 +1,6 @@
|
|||||||
#! /bin/bash -
|
#! /bin/bash -
|
||||||
# set -x
|
# set -x
|
||||||
|
|
||||||
#
|
|
||||||
# echo "Usage: ./${0##*/} <tariff.config> <tariff.current>"
|
|
||||||
#
|
|
||||||
# tariff.config: a JSON-file representing the tariff which should be used
|
|
||||||
# (this tariff-file is generated by a web-based tool of
|
|
||||||
# Mobilisis)
|
|
||||||
# tariff.current: a file containing infos about the currently used tariff:
|
|
||||||
# VERSION: version of the tariff
|
|
||||||
# PROJECT: e.g. szeged
|
|
||||||
# ZONE: usually 1
|
|
||||||
# INFO: additional info for the tariff (optional)
|
|
||||||
# LOADED: date when tariff has been loaded
|
|
||||||
#
|
|
||||||
# This file will be used by the update_psa-script to send
|
|
||||||
# a message to ISMAS containing the current settings of the PSA.
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 2 ]; then
|
||||||
if [ -f $1 ]; then
|
if [ -f $1 ]; then
|
||||||
out="\"VERSION\":\"$(cat $1 | jq -r .version)\"",
|
out="\"VERSION\":\"$(cat $1 | jq -r .version)\"",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user