X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/afd81146024d4bc81b67509735a5e43aca714328..5615f9ae86a8ca1a207b439940239a1d37f7998c:/tools/make/configure diff --git a/tools/make/configure b/tools/make/configure index 32b2558..e9770fa 100755 --- a/tools/make/configure +++ b/tools/make/configure @@ -88,13 +88,14 @@ then fi # copy package control -control=$(find src -name $paket.control) +control=$(find -L src -name $paket.control) +build_number=${build#*_} if [ -z "$control" ] then echo "warning: control file not found" echo " this file is necessary for any package production." else - sed "s/%BUILD%/$build/" $control |sed "s/%ARCH%/$ARCH/" >$paket.control + sed "s/%BUILD%/$build_number/" $control |sed "s/%ARCH%/$ARCH/" >$paket.control echo "$paket.control written." # extract version @@ -102,7 +103,7 @@ else fi # check for copy file -copy=$(find src -name $paket.cp) +copy=$(find -L src -name $paket.cp) if [ -n "$copy" ] then ln -sf $copy . @@ -112,7 +113,7 @@ else fi # check for postinst -postinst=$(find src -name $paket.postinst) +postinst=$(find -L src -name $paket.postinst) if [ -n "$postinst" ] then ln -sf $postinst .