version.sh: Fix in-tree case and allow external variables
[petitboot] / test /
drwxr-xr-x   ..
-rw-r--r-- 997 Makefile.am
-rwxr-xr-x 1038 hotplug-device.sh
drwxr-xr-x - lib
drwxr-xr-x - parser
drwxr-xr-x - urls