From d19017aed4f08680990486473cc4fb5525ed6053 Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Mon, 17 Feb 2020 19:49:37 +0800 Subject: [PATCH] remove value '/root/bin' in var PATH --- obs-env.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/obs-env.spec b/obs-env.spec index 4813fd3..97ca016 100644 --- a/obs-env.spec +++ b/obs-env.spec @@ -3,7 +3,7 @@ Summary : config enviroment for obs compile Name : obs-env Version : 1.0 -Release : 4 +Release : 5 License : GPLv2 Group : System Environment/Shells Source0 : https://gitee.com/src-openeuler/obs-env/raw/master/obs-env-1.0.tar.bz2 @@ -28,17 +28,17 @@ config enviroment for obs compile %post if [ -f /etc/profile ]; then - echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin" >> /etc/profile + echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" >> /etc/profile source /etc/profile fi if [ -f /home/abuild/.bashrc ]; then - echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin" >> /home/abuild/.bashrc + echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" >> /home/abuild/.bashrc source /home/abuild/.bashrc fi if [ -f /root/.bashrc ]; then - echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin" >> /root/.bashrc + echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" >> /root/.bashrc source /root/.bashrc fi @@ -49,6 +49,9 @@ fi %files %changelog +* Mon Feb 17 2020 openEuler Buildteam - 1.0-5 +- remove value '/root/bin' in var PATH + * Tue Jan 14 2020 gulining - 1.0-4 - change source url -- Gitee