xbps_configure_pkg: pass correct version to the post install script.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090827053150-j6wqvnjuhjs09r5t
This commit is contained in:
Juan RP 2009-08-27 07:31:50 +02:00
parent 10bd54adb4
commit 3df22522b9

View File

@ -124,7 +124,7 @@ xbps_configure_pkg(const char *pkgname, const char *version, bool check_state)
if (access(buf, X_OK) == 0) {
if ((rv = xbps_file_chdir_exec(rootdir, buf, "post",
pkgname, version, NULL)) != 0) {
pkgname, lver, NULL)) != 0) {
free(buf);
printf("%s: post INSTALL action returned: %s\n",
pkgname, strerror(errno));