diff options
| author | 2014-06-13 21:51:02 -0300 | |
|---|---|---|
| committer | 2014-06-13 21:51:02 -0300 | |
| commit | 58c4878526dec5510f23c812274686787d8724ba (patch) | |
| tree | 5f2374bc17adb10e15f7e5b4576595d9cc2ef17e /scripts/generate_symlinked_list.sh | |
| parent | fa50632a9d87c3989566fed3e49c160a132e0d14 (diff) | |
Imported Upstream version 7.0.1upstream/7.0.1
Diffstat (limited to 'scripts/generate_symlinked_list.sh')
| -rwxr-xr-x | scripts/generate_symlinked_list.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/generate_symlinked_list.sh b/scripts/generate_symlinked_list.sh new file mode 100755 index 0000000..fe7a7cc --- /dev/null +++ b/scripts/generate_symlinked_list.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# Generate a list of symlinked files and directories. +# Each line must be the file path, relative to the git root. + +WDir="${PWD##*/}" +[[ $WDir == 'scripts' ]] && cd .. + +dst='nikola/data/symlinked.txt' +git ls-files -s | awk '/120000/{print $4}' > $dst |
