source: spip-zone/_outils_/svn2git/trunk/create_user_gitea.sh @ 111062

Last change on this file since 111062 was 111062, checked in by cam.lafit@…, 3 years ago

fixup! fixup! fixup! Ne pas traiter les lignes commentées ou vides

File size: 269 bytes
Line 
1#!/bin/bash
2
3. create_user_gitea.conf
4
5while read row ; do
6    #Ignorer les lignes vides ou commentées
7    if [ -z "$row" ]; then
8        continue;
9    fi
10    if [ `expr match "$row" '\s*#'` != "0" ]; then
11        continue;
12    fi
13
14    echo $row
15
16done <$SVN_USERS_FILE
Note: See TracBrowser for help on using the repository browser.