Improved example files, push Doom path so it will work on more distros.
This commit is contained in:
		@@ -1,8 +1,12 @@
 | 
			
		||||
#!/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.
 | 
			
		||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
# Set up the pk3 and wad files 
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,12 @@
 | 
			
		||||
#!/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.
 | 
			
		||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
 | 
			
		||||
)
 | 
			
		||||
                                                                                                                                                                          
 | 
			
		||||
# Set up the pk3 and wad files
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,12 @@
 | 
			
		||||
#!/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.
 | 
			
		||||
mapfile -t addons < <(find "${doomPath}/Addons/" -type f -iname "TobyV${tobyVersion%%-*}_*" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Decorations.pk3" \
 | 
			
		||||
    -not -iname "TobyV${tobyVersion%%-*}_Monsters.pk3"
 | 
			
		||||
)
 | 
			
		||||
                                                                                                                                                                          
 | 
			
		||||
# Set up the pk3 and wad files
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user