Ignore:
Timestamp:
2019-03-19T17:37:30+13:00 (5 years ago)
Author:
ak19
Message:

Kathy wanted makegli.sh to be prevented from running clean and thereby deleting existing class files when there's no src code, as happens with binary. Although the assumption is that developers will run makegli and therefore will ahve checked out src code, we can always accidentally run makegli when testing a binary only to discover we had no src code and have now lost all the installed gli .class files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/makegli.sh

    r32911 r32913  
    11#!/bin/sh
    22glilang=en
     3
     4
     5# Don't bother compiling GLI if there's no source code (e.g. if this is a binary only)
     6if [ ! -d "src" ]; then
     7    echo "WARNING: There is no gli source code (src directory) to compile. Terminating makegli."
     8    exit 0
     9fi
    310
    411echo
Note: See TracChangeset for help on using the changeset viewer.