xbps_file_exec: simplify and don't chroot when rootdir == /.

Before that change we were chroot(2)ing even when rootdir was set to /.
This commit is contained in:
Juan RP
2012-05-30 17:44:39 +02:00
parent a94dd5dbfa
commit 27aacf97f4
3 changed files with 20 additions and 64 deletions

View File

@ -56,7 +56,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.4"
#define XBPS_API_VERSION "20120530-2"
#define XBPS_API_VERSION "20120530-4"
#define XBPS_VERSION "0.16"
/**