|
|
|
@ -14,6 +14,11 @@ function cleanup() { |
|
|
|
# On exit, remove any symbolic link in content/french that points |
|
|
|
# to content/english |
|
|
|
find content/french -type l -print0 | while IFS= read -r -d $'\0' filename; do |
|
|
|
|
|
|
|
# Temporary hack |
|
|
|
echo ${realpath:-realpath} "$filename" |
|
|
|
${realpath:-realpath} "$filename" |
|
|
|
|
|
|
|
if ${realpath:-realpath} "$filename" | grep -E "^$PWD/" > /dev/null; then |
|
|
|
rm -f "$filename" |
|
|
|
fi |
|
|
|
|