Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration #7

Open
JLuc opened this issue May 13, 2015 · 0 comments
Open

configuration #7

JLuc opened this issue May 13, 2015 · 0 comments

Comments

@JLuc
Copy link
Owner

JLuc commented May 13, 2015

use configuration file rather than inline definition

Example init code :
7 #Initialisation des variables
8 if [ ! -f "${VARIABLES_FILE:=variables.conf}" ]; then
9 echo "Le fichier ${VARIABLES_FILE:=variables.conf} manquant"
10 exit 1
11 fi
12
13 . "${VARIABLES_FILE:=variables.conf}"
14

and variables.conf is made of :
1 #Initialisation des variables
2 SVN_REPOSITORY="svn.spip.org/spip-zone/"
3 SVN_DIRECTORY="/var/svn-repos/spip-zone/"
4 SVN_ROOTS=('plugins' 'outils' 'dev');
5 SVN_PROJECTS_SUBGIT=()

etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant