13 lines
192 B
Bash
Executable File
13 lines
192 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Exit on the first error
|
|
set -e
|
|
|
|
# Does ln supports the --relative/-r option?
|
|
ln --relative --help >/dev/null 2>&1
|
|
|
|
# Does realpath exist?
|
|
realpath --help >/dev/null 2>&1
|
|
|
|
echo OK
|