X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tools%2Fmake%2Fconfigure;h=47a1304b902ef7efddb8a050964f8f889e81a62d;hb=1b1a4b951283d256d63b61c3a1e2018d6cf5d46f;hp=3dfa084956bc611e73684eae2466b8086b75749c;hpb=91e0fccb96d28028d78ea41e34c1990585048d3b;p=projects.git diff --git a/tools/make/configure b/tools/make/configure index 3dfa084..47a1304 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 . @@ -113,9 +114,9 @@ fi # check for installation scripts files=$(find src -name $paket.preinst) -files="$files $(find src -name $paket.postinst)" -files="$files $(find src -name $paket.prerm)" -files="$files $(find src -name $paket.postrm)" +files="$files $(find -L src -name $paket.postinst)" +files="$files $(find -L src -name $paket.prerm)" +files="$files $(find -L src -name $paket.postrm)" for file in $files do ln -sf $file .