From b281e1340b6884c59124b81fc9acbb2c5dc7969a Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 5 May 2012 20:23:53 +0000 Subject: [PATCH] debian: place build utilities in a single file --- debian/rules | 2 +- debian/{create-dbg-pkgs.sh => util.sh} | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) rename debian/{create-dbg-pkgs.sh => util.sh} (85%) diff --git a/debian/rules b/debian/rules index c0b6bf9038..00f753f19e 100755 --- a/debian/rules +++ b/debian/rules @@ -78,7 +78,7 @@ override_dh_auto_test: override_dh_strip: dh_strip -a -k - ./debian/create-dbg-pkgs.sh + ./debian/util.sh create-dbg-pkgs override_dh_auto_install: dh_auto_install diff --git a/debian/create-dbg-pkgs.sh b/debian/util.sh similarity index 85% rename from debian/create-dbg-pkgs.sh rename to debian/util.sh index b6a33fa617..3b45ec391f 100755 --- a/debian/create-dbg-pkgs.sh +++ b/debian/util.sh @@ -13,5 +13,9 @@ create_dbg_pkgs () { done } -create_dbg_pkgs +cmd="$1" +shift +case "$cmd" in + create-dbg-pkgs) create_dbg_pkgs ;; +esac