OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # libjingle | 3 # libjingle |
4 # Copyright 2013 Google Inc. | 4 # Copyright 2013 Google Inc. |
5 # | 5 # |
6 # Redistribution and use in source and binary forms, with or without | 6 # Redistribution and use in source and binary forms, with or without |
7 # modification, are permitted provided that the following conditions are met: | 7 # modification, are permitted provided that the following conditions are met: |
8 # | 8 # |
9 # 1. Redistributions of source code must retain the above copyright notice, | 9 # 1. Redistributions of source code must retain the above copyright notice, |
10 # this list of conditions and the following disclaimer. | 10 # this list of conditions and the following disclaimer. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "classpath path/to/Source1.java path/to/Source2.java ..." >&2 | 43 "classpath path/to/Source1.java path/to/Source2.java ..." >&2 |
44 exit 1 | 44 exit 1 |
45 fi | 45 fi |
46 | 46 |
47 rm -rf "$TMP_DIR" | 47 rm -rf "$TMP_DIR" |
48 mkdir -p "$TMP_DIR" | 48 mkdir -p "$TMP_DIR" |
49 | 49 |
50 $JAVA_HOME/bin/javac -Xlint:deprecation -Xlint:unchecked -d "$TMP_DIR" \ | 50 $JAVA_HOME/bin/javac -Xlint:deprecation -Xlint:unchecked -d "$TMP_DIR" \ |
51 -classpath "$CLASSPATH" "$@" | 51 -classpath "$CLASSPATH" "$@" |
52 $JAVA_HOME/bin/jar cf "$JAR_NAME" -C "$TMP_DIR" . | 52 $JAVA_HOME/bin/jar cf "$JAR_NAME" -C "$TMP_DIR" . |
OLD | NEW |