Why is topdir set to its default value when rpmbuild called from tcl?

There’s two ways to change the default rpmbuild topdir: Per-User: By configuring the RPM topdir in $HOME/.rpmmacros %_topdir %{getenv:HOME}/rpmbuild Per-Project: By configuring the RPM topdir in the Makefile or on the command line rpmbuild –define ‘_topdir build’ -ba package.spec Note: in both cases, you will need to make sure your topdir directory has the appropriate … Read more

Get the version of TCL from the command-line?

This might sound too simplistic, but if you made a script file that contained the commands: puts $tcl_version And then ran tclsh sillyscript.tcl, that would execute on all platforms, assuming binary is in PATH. It certainly isn’t fancy or flashy, or even neat, but it satisfies that requirement AFAIK. ==== I got curious, so I … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)