projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added initial stat command
[clearscm.git]
/
rc
/
setup_rc
diff --git
a/rc/setup_rc
b/rc/setup_rc
index
dfb5786
..
b80e287
100755
(executable)
--- a/
rc/setup_rc
+++ b/
rc/setup_rc
@@
-54,6
+54,8
@@
if [ ! -d $HOME/.rc ]; then
fi
# Check to see if we were already setup
fi
# Check to see if we were already setup
+symlink=$(stat -c %N ~/.bashrc | awk '{print $2}')
+
if [ "$symlink" = "->" ]; then
to=$(stat -c %N ~/.bashrc | awk '{print $NF}')
if [ "$symlink" = "->" ]; then
to=$(stat -c %N ~/.bashrc | awk '{print $NF}')