From 0a7848544d755468740154cbf357f2e21d204628 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pj@pehjota.net>
Date: Fri, 15 Aug 2014 12:37:09 -0400
Subject: lib/profile.sh: use() the set profile

---
(limited to 'lib')

diff --git a/lib/profile.sh b/lib/profile.sh
index 2da80e3..ad16867 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -40,6 +40,7 @@ profile_set()
 
 	if is_profile "${prof}"; then
 		profile="${prof}"
+		use "profiles/${profile}"
 	else
 		error 1 "$(get_msg 'profile_not_found')" "${prof}"
 	fi
--
cgit v0.9.1