diff options
author | James Turner <jturner@gemini.edu> | 2016-10-27 15:53:54 -0400 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-10-27 15:53:54 -0400 |
commit | 027478d0432603bafebed12d7b366230fb7db95d (patch) | |
tree | 2af1699a983c2001bbe526086139d545c14986f5 /scripts | |
parent | 46e0e458820ad0876c8d045109b20ce2171756c0 (diff) | |
download | astroconda-iraf-helpers-027478d0432603bafebed12d7b366230fb7db95d.tar.gz |
Need to create a bin -> bin.$IRAFARCH link even when none exists to begin with.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ac_build_iraf_pkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ac_build_iraf_pkg b/scripts/ac_build_iraf_pkg index 91d6d0f..fc502c0 100755 --- a/scripts/ac_build_iraf_pkg +++ b/scripts/ac_build_iraf_pkg @@ -92,6 +92,8 @@ rm -fr bin.* mkdir bin.generic "bin.$IRAFARCH" if [ -L bin ]; then # apart from being safer, there is a bin/ dir in mscdb rm -f bin +fi +if [ ! -e bin ]; then ln -s "bin.$IRAFARCH" bin fi |