hooks/pre-pkg: safely pass arguments to printf
This commit is contained in:
parent
ab9c308fd0
commit
61065bcb1f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ store_pkgdestdir_rundeps() {
|
||||||
-z "$($XBPS_UHELPER_CMD getpkgname ${_curdep} 2>/dev/null)" ]; then
|
-z "$($XBPS_UHELPER_CMD getpkgname ${_curdep} 2>/dev/null)" ]; then
|
||||||
_curdep="${_curdep}>=0"
|
_curdep="${_curdep}>=0"
|
||||||
fi
|
fi
|
||||||
printf "${_curdep} " >> ${PKGDESTDIR}/rdeps
|
printf -- "${_curdep} " >> ${PKGDESTDIR}/rdeps
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue