mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-01-07 17:08:20 +01:00
use bash instead of sh
This commit is contained in:
parent
c140a169d7
commit
822fa2adae
@ -101,7 +101,7 @@ internal fun Project.createApplyPatchesTask(
|
||||
}
|
||||
bashCmd("rm -fr patches/server/*-Mapped-Patches.patch")
|
||||
|
||||
bashCmd("sh mappings/scripts/init.sh", printOut = true)
|
||||
bashCmd("sh mappings/scripts/apply.sh", printOut = true)
|
||||
bashCmd("bash mappings/scripts/init.sh", printOut = true)
|
||||
bashCmd("bash mappings/scripts/apply.sh", printOut = true)
|
||||
}
|
||||
}
|
||||
|
@ -45,8 +45,8 @@ internal fun Project.createRebuildPatchesTask(
|
||||
}
|
||||
bashCmd("rm -fr patches/server/*-Mapped-Patches.patch")
|
||||
|
||||
bashCmd("sh mappings/scripts/rebuildPatches.sh", printOut = true)
|
||||
bashCmd("sh mappings/scripts/install.sh", printOut = true)
|
||||
bashCmd("bash mappings/scripts/rebuildPatches.sh", printOut = true)
|
||||
bashCmd("bash mappings/scripts/install.sh", printOut = true)
|
||||
}
|
||||
}
|
||||
|
||||
|
2
mappings/scripts/apply.sh
Normal file → Executable file
2
mappings/scripts/apply.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# set -e
|
||||
cd "$(dirname "$0")"
|
||||
cd ..
|
||||
|
2
mappings/scripts/init.sh
Normal file → Executable file
2
mappings/scripts/init.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
cd ..
|
||||
|
2
mappings/scripts/install.sh
Normal file → Executable file
2
mappings/scripts/install.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
cd ..
|
||||
|
0
mappings/scripts/rebuildPatches.sh
Normal file → Executable file
0
mappings/scripts/rebuildPatches.sh
Normal file → Executable file
2
mappings/scripts/source.sh
Normal file → Executable file
2
mappings/scripts/source.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# inputdirprefix="" #for testing
|
||||
inputdirprefix="Yatopia-" #for testing
|
||||
|
Loading…
Reference in New Issue
Block a user