summaryrefslogtreecommitdiff
path: root/localpdebuild
diff options
context:
space:
mode:
Diffstat (limited to 'localpdebuild')
-rwxr-xr-xlocalpdebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/localpdebuild b/localpdebuild
index 733cbb4..f62bf0f 100755
--- a/localpdebuild
+++ b/localpdebuild
@@ -2,10 +2,14 @@
set -e
+PRG=$(basename "$0")
+
function showhelp() {
- echo "Usage: $(basename $0) POOL [debbuildopts] [-- pbuilderopts]"
- echo ""
- echo "Example: $(basename $0) sarge_with_hacks -B"
+ cat <<EOF
+Usage: $PRG POOL [debbuildopts] [-- pbuilderopts]
+
+Example: $PRG sarge_with_hacks -B
+EOF
}
if [ $# -eq 0 ]; then