~ubuntu-branches/ubuntu/saucy/disper/saucy-proposed

« back to all changes in this revision

Viewing changes to hooks/debug.sh

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Cheng
  • Date: 2011-07-17 22:30:03 UTC
  • Revision ID: james.westby@ubuntu.com-20110717223003-e000zieh4kgerk01
Tags: upstream-0.3.0
ImportĀ upstreamĀ versionĀ 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
###############################################################################
 
3
# disper hook - show relevant environment variables for debugging
 
4
#
 
5
# This program is free software; you can redistribute it and/or modify
 
6
# it under the terms of the GNU General Public License as published by
 
7
# the Free Software Foundation; either version 3 of the License, or
 
8
# (at your option) any later version.
 
9
#
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
13
# GNU General Public License at http://www.gnu.org/licenses/gpl.txt
 
14
# By using, editing and/or distributing this software you agree to
 
15
# the terms and conditions of this license.
 
16
 
 
17
# This may be the only plugin that does not need to check for
 
18
# DISPER_STAGE at all.
 
19
echo "Disper hook environment for stage: $DISPER_STAGE"
 
20
env | sed 's|^\(DISPER_\)|  \1|p;d'
 
21