Mercurial > hgrepos > hgweb.cgi > s4
comparison scripts/group-add.sh @ 547:bb34c7fbf1ad
Syntax error resolved
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 06 Apr 2019 21:33:17 +0900 |
parents | 768e80ef2b80 |
children |
comparison
equal
deleted
inserted
replaced
546:768e80ef2b80 | 547:bb34c7fbf1ad |
---|---|
7 Csv file should be the form of: | 7 Csv file should be the form of: |
8 GroupName,UserName(email) | 8 GroupName,UserName(email) |
9 EOF | 9 EOF |
10 exit 1 | 10 exit 1 |
11 fi | 11 fi |
12 if [ | 12 |
13 target=$(cd `dirname "$1"`; pwd)/`basename $1` | 13 target=$(cd `dirname "$1"`; pwd)/`basename $1` |
14 | 14 |
15 query<<-EOF | 15 query<<-EOF |
16 .mode csv | 16 .mode csv |
17 CREATE TEMPORARY TABLE _gusers(gname, user, admin); | 17 CREATE TEMPORARY TABLE _gusers(gname, user, admin); |