aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-09-21 14:38:38 +0800
committerAaron LI <aly@aaronly.me>2018-09-21 14:38:38 +0800
commit5738c4387f0455b400d4a73b0095d85be39f6d3f (patch)
tree7c11ca70a2c897ba342d7dafaff3973430b59cc3
parent373caa4776d2111a823b2cf4f2b7f79bc5e1c66c (diff)
downloadchandra-acis-analysis-5738c4387f0455b400d4a73b0095d85be39f6d3f.tar.bz2
Remove the 'rehash' command from heainit()
The 'rehash' command is available in ZSH, but not in Bash, which uses 'hash -r' instead.
-rw-r--r--README.md1
-rwxr-xr-xscripts/heasoft.sh1
2 files changed, 0 insertions, 2 deletions
diff --git a/README.md b/README.md
index 88c97fb..3a2bbaa 100644
--- a/README.md
+++ b/README.md
@@ -132,7 +132,6 @@ heainit() {
tool=$(basename $i)
ln -sf ${wrapper_name} ${wrapper_dir}/${tool}
done
- rehash
echo "HEASoft initialized."
else
diff --git a/scripts/heasoft.sh b/scripts/heasoft.sh
index 54e295b..03aa3fb 100755
--- a/scripts/heasoft.sh
+++ b/scripts/heasoft.sh
@@ -42,7 +42,6 @@
# tool=$(basename $i)
# ln -sf ${wrapper_name} ${wrapper_dir}/${tool}
# done
-# rehash
#
# echo "HEASoft initialized."
# else