Improved example files, push Doom path so it will work on more distros.
This commit is contained in:
parent
1280a40c6f
commit
283af31f10
@ -1,8 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Set the current path to the Doom path required by some OS.
|
||||||
|
pushd "${doomPath}"
|
||||||
|
|
||||||
# Add all the TobyDoom stuff we need, exclude things we do not.
|
# Add all the TobyDoom stuff we need, exclude things we do not.
|
||||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
||||||
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
||||||
|
-not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set up the pk3 and wad files
|
# Set up the pk3 and wad files
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Set the current path to the Doom path required by some OS.
|
||||||
|
pushd "${doomPath}"
|
||||||
|
|
||||||
# Add all the TobyDoom stuff we need, exclude things we do not.
|
# Add all the TobyDoom stuff we need, exclude things we do not.
|
||||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
||||||
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
||||||
|
-not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set up the pk3 and wad files
|
# Set up the pk3 and wad files
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Set the current path to the Doom path required by some OS.
|
||||||
|
pushd "${doomPath}"
|
||||||
|
|
||||||
# Add all the TobyDoom stuff we need, exclude things we do not.
|
# Add all the TobyDoom stuff we need, exclude things we do not.
|
||||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
|
||||||
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
-not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
|
||||||
|
-not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set up the pk3 and wad files
|
# Set up the pk3 and wad files
|
||||||
|
Loading…
Reference in New Issue
Block a user