mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 17:48:18 -07:00
13 lines
209 B
Bash
Executable File
13 lines
209 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
get_legacy_version() {
|
|
current_directory=$1
|
|
version_file="$current_directory/.dummy-version"
|
|
|
|
if [ -f "$version_file" ]; then
|
|
cat "$version_file"
|
|
fi
|
|
}
|
|
|
|
get_legacy_version "$1"
|