Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
mingw32-cross-breakpad-tools
gen_sym_files.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gen_sym_files.sh of Package mingw32-cross-breakpad-tools
#!/bin/sh # $1 filename if [ -z "$1" ]; then echo "ERROR: filename must not be empty" exit -1 fi # $2 target directory if [ -z "$2" ]; then TARGET_DIR="symbols" else TARGET_DIR="$2" fi FILE=`basename $1` SYMFILE="$FILE.sym" i686-w64-mingw32-dump_syms $1 > $SYMFILE BUILDID=`head -n1 $SYMFILE | cut -f4 -d ' '` if [ "$BUILDID" == "000000000000000000000000000000000" ]; then echo "ERROR: buildid is empty in $SYMFILE" exit -1 fi DESTINATION_DIR="$TARGET_DIR/$FILE/$BUILDID" DESTINATION_FILE="$DESTINATION_DIR/$SYMFILE" mkdir -p $DESTINATION_DIR mv $SYMFILE $DESTINATION_FILE echo $DESTINATION_FILE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor