dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout : lib/log.sh .
[lhc/ateliers.git]
/
vm_remote
diff --git
a/vm_remote
b/vm_remote
index
237f421
..
946706a
100755
(executable)
--- a/
vm_remote
+++ b/
vm_remote
@@
-33,8
+33,6
@@
rule_git_config () {
}
rule_git_push () { # SYNTAX: {host|vm} $git_commit_options
local remote=${1#remote=}; shift
}
rule_git_push () { # SYNTAX: {host|vm} $git_commit_options
local remote=${1#remote=}; shift
- git add . &&
- git commit -a -C HEAD "$@" &&
GIT_SSH=./vm_ssh git push -v -f "$remote"
}
GIT_SSH=./vm_ssh git push -v -f "$remote"
}
@@
-77,9
+75,10
@@
${1+shift}
case $rule in
(help);;
(*)
case $rule in
(help);;
(*)
- test ! "$(hostname --fqdn)" = "$vm_fqdn"
- test ! "$(hostname --fqdn)" = "$vm_host"
- set "${TRACE:+-x}"
+ test ! "$(hostname --fqdn)" = "$vm_fqdn" &&
+ test ! "$(hostname --fqdn)" = "$vm_host" ||
+ error 1 "mauvaise machine"
+ ${TRACE:+set -x}
;;
esac
rule_$rule "$@"
;;
esac
rule_$rule "$@"