mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
debian: place build utilities in a single file
This commit is contained in:
21
debian/util.sh
vendored
Executable file
21
debian/util.sh
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
|
||||
##### Author: Travis Cross <tc@traviscross.com>
|
||||
|
||||
create_dbg_pkgs () {
|
||||
for x in debian/*; do
|
||||
test ! -d $x && continue
|
||||
test "$x" = "tmp" -o "$x" = "source" && continue
|
||||
test ! "$x" = "${x%-dbg}" && continue
|
||||
test ! -d $x/usr/lib/debug && continue
|
||||
mkdir -p $x-dbg/usr/lib
|
||||
mv $x/usr/lib/debug $x-dbg/usr/lib/
|
||||
done
|
||||
}
|
||||
|
||||
cmd="$1"
|
||||
shift
|
||||
case "$cmd" in
|
||||
create-dbg-pkgs) create_dbg_pkgs ;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user