Fix packaging scripts for BSD sed.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf packaging/linux/root
|
||||
rm -rf packaging/built
|
||||
rm packaging/linux/package.log
|
||||
rm packaging/linux/deb/package.log
|
||||
rm packaging/linux/rpm/package.log
|
||||
|
||||
@@ -45,8 +45,8 @@ cp thirdparty/ICSharpCode.SharpZipLib.dll packaging/built
|
||||
cp OpenRA.Game/OpenRA.ico packaging/built
|
||||
|
||||
# Update mod versions
|
||||
sed "s/{DEV_VERSION}/$VERSION/" -i ./packaging/built/mods/ra/mod.yaml
|
||||
sed "s/{DEV_VERSION}/$VERSION/" -i ./packaging/built/mods/cnc/mod.yaml
|
||||
sed "s/{DEV_VERSION}/$VERSION/" ./mods/ra/mod.yaml > ./packaging/built/mods/ra/mod.yaml
|
||||
sed "s/{DEV_VERSION}/$VERSION/" ./mods/cnc/mod.yaml > ./packaging/built/mods/cnc/mod.yaml
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user