Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
checkinstall
checkinstall-installwatch_use_mktemp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File checkinstall-installwatch_use_mktemp.patch of Package checkinstall
--- installwatch-0.7.0beta5/installwatch +++ installwatch-0.7.0beta5/installwatch @@ -82,32 +82,8 @@ function make_temp { local mkt_refdir=$1 - local mkt_wrkdir="" + local mkt_wrkdir=`mktemp -q -d -p ${BASE_TMP_DIR}` - mkt_wrkdir=${BASE_TMP_DIR}/\ -`awk 'BEGIN {\ - srand();\ - for (i=1;i<21;i++) {\ - a=95;\ - while (a > 90 && a < 97) {\ - a=65+int(50*rand())\ - };\ - printf("%c", a) \ - }\ -}'` - - [ -e "${mkt_wrkdir}" ] && rm -rf ${mkt_wrkdir} - if [ -e "${mkt_wrkdir}" ]; then - echo - echo "Error : My temp dir exists already. This looks like a symlink attack!" - echo - echo "*** Aborting ***" - echo - exit 1 - fi - - mkdir ${mkt_wrkdir} - chmod 0700 ${mkt_wrkdir} eval $mkt_refdir=\$mkt_wrkdir }
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