Commit 4e22d66c authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Let debug package build fail if no version has been found.

parent 2b966dab
...@@ -83,6 +83,10 @@ packdebug) ## package debug package ...@@ -83,6 +83,10 @@ packdebug) ## package debug package
rm -rf out/*debug*.7z rm -rf out/*debug*.7z
arch=mingw32 arch=mingw32
version=$(find binaries/ -name *$arch*debug* | sed 's,.*debug-,,g;s,\.noarch.*,,g') version=$(find binaries/ -name *$arch*debug* | sed 's,.*debug-,,g;s,\.noarch.*,,g')
if test -z "$version"; then
echo no version found
exit 1;
fi
dir=tmp/usr/i686-w64-mingw32/sys-root/mingw dir=tmp/usr/i686-w64-mingw32/sys-root/mingw
outfile=$PWD/out/umbrello-i686-w64-mingw32-$version-debug.7z outfile=$PWD/out/umbrello-i686-w64-mingw32-$version-debug.7z
(cd $dir; 7z a -r -mx=9 $outfile *.debug *.sym) (cd $dir; 7z a -r -mx=9 $outfile *.debug *.sym)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment