mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 04:40:53 +00:00
Fixed: Escape paths with quotes under OS X
This commit is contained in:
parent
589e320266
commit
cd9d2cdd5d
1 changed files with 18 additions and 12 deletions
|
@ -7,8 +7,8 @@ then
|
|||
fi
|
||||
|
||||
# determine directory where all files reside
|
||||
CONTENTSPATH=$(dirname $ROOTPATH)
|
||||
MACOSPATH=$(dirname $RYZOM_CLIENT)
|
||||
CONTENTSPATH=$(dirname "$ROOTPATH")
|
||||
MACOSPATH=$(dirname "$RYZOM_CLIENT")
|
||||
SIGNPATH=$CONTENTSPATH/_CodeSignature
|
||||
|
||||
# all files of original Bundle are in the same directory
|
||||
|
@ -19,20 +19,26 @@ SIGNPATH=$CONTENTSPATH/_CodeSignature
|
|||
# PkgInfo usually doesn't change so don't copy it
|
||||
|
||||
# Info.plist contains updated version
|
||||
cp -p $ROOTPATH/Info.plist $CONTENTSPATH
|
||||
cp -p "$ROOTPATH/Info.plist" "$CONTENTSPATH"
|
||||
|
||||
cp -p $ROOTPATH/CodeResources $SIGNPATH
|
||||
cp -p "$ROOTPATH/CodeResources" "$SIGNPATH"
|
||||
|
||||
# executable flag for all executables
|
||||
chmod +x $ROOTPATH/Ryzom
|
||||
chmod +x $ROOTPATH/CrashReport
|
||||
chmod +x $ROOTPATH/RyzomClientPatcher
|
||||
chmod +x $ROOTPATH/RyzomConfiguration
|
||||
chmod +x "$ROOTPATH/Ryzom"
|
||||
chmod +x "$ROOTPATH/CrashReport"
|
||||
chmod +x "$ROOTPATH/RyzomClientPatcher"
|
||||
chmod +x "$ROOTPATH/RyzomConfiguration"
|
||||
|
||||
# remove previous executables
|
||||
rm -f "$MACOSPATH/Ryzom"
|
||||
rm -f "$MACOSPATH/CrashReport"
|
||||
rm -f "$MACOSPATH/RyzomClientPatcher"
|
||||
rm -f "$MACOSPATH/RyzomConfiguration"
|
||||
|
||||
# copy all binaries in MacOS directory
|
||||
cp -p $ROOTPATH/Ryzom $MACOSPATH
|
||||
cp -p $ROOTPATH/CrashReport $MACOSPATH
|
||||
cp -p $ROOTPATH/RyzomClientPatcher $MACOSPATH
|
||||
cp -p $ROOTPATH/RyzomConfiguration $MACOSPATH
|
||||
cp -p "$ROOTPATH/Ryzom" "$MACOSPATH"
|
||||
cp -p "$ROOTPATH/CrashReport" "$MACOSPATH"
|
||||
cp -p "$ROOTPATH/RyzomClientPatcher" "$MACOSPATH"
|
||||
cp -p "$ROOTPATH/RyzomConfiguration" "$MACOSPATH"
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue