projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove executable bit, remove shebang line, update copyright on subcommands.
[monkeysphere.git]
/
src
/
subcommands
/
ma
/
update-users
diff --git
a/src/subcommands/ma/update-users
b/src/subcommands/ma/update-users
old mode 100755
(executable)
new mode 100644
(file)
index
a26d3fb
..
0335e31
--- a/
src/subcommands/ma/update-users
+++ b/
src/subcommands/ma/update-users
@@
-1,14
+1,17
@@
-#!/usr/bin/env bash
+# -*-shell-script-*-
+# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant)
# Monkeysphere authentication update-users subcommand
#
# The monkeysphere scripts are written by:
# Monkeysphere authentication update-users subcommand
#
# The monkeysphere scripts are written by:
-# Jameson Rollins <jrollins@fi
fthhorseman
.net>
+# Jameson Rollins <jrollins@fi
nestructure
.net>
# Jamie McClelland <jm@mayfirst.org>
# Daniel Kahn Gillmor <dkg@fifthhorseman.net>
#
# Jamie McClelland <jm@mayfirst.org>
# Daniel Kahn Gillmor <dkg@fifthhorseman.net>
#
-# They are Copyright 2008, and are all released under the GPL, version 3
-# or later.
+# They are Copyright 2008-2009, and are all released under the GPL,
+# version 3 or later.
+
+update_users() {
if [ "$1" ] ; then
# get users from command line
if [ "$1" ] ; then
# get users from command line
@@
-141,4
+144,6
@@
for uname in $unames ; do
# destroy temporary directory
rm -rf "$TMPLOC"
# destroy temporary directory
rm -rf "$TMPLOC"
- done
+done
+
+}