From 177913a9548ebcf2ce87f4c0ffbf7e5e761478e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 10 Aug 2022 13:26:23 +0800 Subject: [PATCH] Fixed rbash_upgrade not working on other dirs --- bash/bashrc/rbashrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 45cc0c1..a08716f 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -5,10 +5,6 @@ case $- in esac __SCRIPT=$BASH_SOURCE -echo $BASH_SOURCE | grep -q "^$( pwd )" -if [ $? -ne 0 ]; then - __SCRIPT=$( pwd )/$BASH_SOURCE -fi # Source global definitions if [ -f /etc/bashrc ]; then