tweak to debian_build_lib and up version number of package

This commit is contained in:
Bryan Thornbury 2015-10-29 13:55:06 -07:00
parent b86dbda57e
commit 9339c22a5c
2 changed files with 8 additions and 3 deletions

View file

@ -9,7 +9,7 @@
"homepage": "https://dotnet.github.io/core",
"release":{
"package_version":"0.3",
"package_version":"0.200",
"package_revision":"1",
"urgency" : "low",
"changelog_message" : "Bootstrap loop package"

View file

@ -42,6 +42,11 @@ add_system_dir_placement(){
abs_installation_dir=$2
dir_files=( $(_get_files_in_dir_tree $PACKAGE_SOURCE_DIR/$in_package_dir) )
# If in_package_dir isn't empty include a slash
if [ ! -z "$in_package_dir" ]; then
in_package_dir="${in_package_dir}/"
fi
for rel_filepath in ${dir_files[@]}
do
@ -49,9 +54,9 @@ add_system_dir_placement(){
# If there is no parent, parent_path = "."
if [[ "$parent_path" == "." ]]; then
add_system_file_placement "${in_package_dir}/${rel_filepath}" "${abs_installation_dir}"
add_system_file_placement "${in_package_dir}${rel_filepath}" "${abs_installation_dir}"
else
add_system_file_placement "${in_package_dir}/${rel_filepath}" "${abs_installation_dir}/${parent_path}"
add_system_file_placement "${in_package_dir}${rel_filepath}" "${abs_installation_dir}/${parent_path}"
fi
done