Lines Matching refs:SRC
150 SRC=$1
156 VALUE=$( grep "^$SRC=" "$PROPS" | cut -d = -f 2 | tr ' ' '@' | tr -d '\r' )
223 SRC="$1"
225 if [[ "${SRC/:/}" != "$SRC" ]]; then
226 DST="${SRC/*:/}"
227 SRC="${SRC/:*/}"
229 [[ ! -f "$SRC" ]] && error "Missing file for archive $TYPE/$OS: $SRC"
258 if unzip -t "$SRC" | grep -qs "source.properties" ; then
261 unzip -j -q -o -d "$TMP_DIR" "$SRC" "*/source.properties"
264 elif unzip -t "$SRC" | grep -qs "manifest.ini" ; then
265 unzip -j -q -o -d "$TMP_DIR" "$SRC" "*/manifest.ini"
280 error "Failed to find source.properties or manifest.ini in $SRC"
283 [[ ! -f $PROPS ]] && error "Failed to extract $PROPS from $SRC"
294 echo "## Add $TYPE/$OS archive $SRC"
296 SIZE=$( stat -f %z "$SRC" )
298 SIZE=$( stat -c %s "$SRC" )
300 SHA1=$( sha1sum "$SRC" | cut -d " " -f 1 )