mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-19 23:18:45 +02:00
More fixing of fixup.sh
This commit is contained in:
parent
1e934e13dd
commit
e2ec6beaa4
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||||
pushd $dir/.. > /dev/null
|
pushd $dir/.. > /dev/null
|
||||||
|
git checkout -- .
|
||||||
pushd site
|
pushd site
|
||||||
find . -type f -name "*.html" -print0 | while IFS= read -r -d $'\0' file; do
|
find . -type f -name "*.html" -print0 | while IFS= read -r -d $'\0' file; do
|
||||||
sed -i 's/href="index\.html"/href="index-old.html"/g' "$file"
|
sed -i 's/href="index\.html"/href="index-old.html"/g' "$file"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user