Revision 16a833d7

b/devel/upload
1 1
#!/bin/bash
2 2

  
3
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012 Google Inc.
3
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012, 2013 Google Inc.
4 4
#
5 5
# This program is free software; you can redistribute it and/or modify
6 6
# it under the terms of the GNU General Public License as published by
......
25 25
# $prefix/lib/python2.4/site-packages/ganeti and the command line utils to
26 26
# $prefix/sbin. It needs passwordless root login to the nodes.
27 27

  
28
set -e
28
set -e -u
29 29

  
30 30
usage() {
31 31
  echo "Usage: $0 [--no-restart] [--no-cron] [--no-debug] hosts..." >&2
......
92 92
# fixed; we can read the prefix vars/etc.
93 93
PREFIX="$(echo @PREFIX@ | $SED)"
94 94
SYSCONFDIR="$(echo @SYSCONFDIR@ | $SED)"
95
LIBDIR="$(echo @LIBDIR@ | $SED)"
95 96
PKGLIBDIR="$(echo @PKGLIBDIR@ | $SED)"
96 97

  
97 98
# copy additional needed files

Also available in: Unified diff