realpath isn't installed by default on travis' vms AND it's not

necessary if we're looking up by inode

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/597/head
Jesse Vincent 6 years ago
parent 6856971cdb
commit b8d4e90f23

@ -28,7 +28,7 @@ build_version () {
build_paths() { build_paths() {
# We don't really want to use find # We don't really want to use find
# shellcheck disable=SC2012 # shellcheck disable=SC2012
SKETCH_IDENTIFIER="$(ls -id "$(realpath "$(find_sketch)/${SKETCH}.ino")" | cut -d ' ' -f 1)-${SKETCH}.ino" SKETCH_IDENTIFIER="$(ls -id "$(find_sketch)/${SKETCH}.ino" | cut -d ' ' -f 1)-${SKETCH}.ino"
KALEIDOSCOPE_TEMP_PATH="${KALEIDOSCOPE_TEMP_PATH:-${TMPDIR:-/tmp}/kaleidoscope-${USER}}" KALEIDOSCOPE_TEMP_PATH="${KALEIDOSCOPE_TEMP_PATH:-${TMPDIR:-/tmp}/kaleidoscope-${USER}}"

Loading…
Cancel
Save