version.sh: Fix in-tree case and allow external variables
[petitboot] / ui /
drwxr-xr-x   ..
-rw-r--r-- 872 Makefile.am
drwxr-xr-x - common
drwxr-xr-x - ncurses
drwxr-xr-x - test
drwxr-xr-x - twin