Skip to content

Commit d7edd81

Browse files
committed
Trailing spaces
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45912 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent 77a9916 commit d7edd81

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

vice/src/arch/shared/macOS-launcher.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,32 +42,32 @@ int main(int argc, char *argv[])
4242
char *exe_dirname;
4343
char *exe_filename;
4444
uint32_t size = sizeof(exe_path);
45-
45+
4646
/* Get the path to this executable \*/
4747
if (_NSGetExecutablePath(exe_path, &size) != 0) {
4848
fprintf(stderr, "Error: Could not determine executable path\n");
4949
return 1;
5050
}
51-
51+
5252
/* Resolve symlinks */
5353
if (realpath(exe_path, real_path) == NULL) {
5454
fprintf(stderr, "Error: Could not resolve executable path\n");
5555
return 1;
5656
}
57-
57+
5858
/* Split into dirname and basename */
5959
exe_dirname = dirname(real_path);
6060
exe_filename = basename(real_path);
61-
61+
6262
/* Build path to the bash script (same directory as this executable) */
6363
snprintf(script_path, sizeof(script_path), "%s/../Resources/%s.sh", exe_dirname, exe_filename);
64-
64+
6565
/* Replace argv[0] with the script path */
6666
argv[0] = script_path;
67-
67+
6868
/* Execute the bash script */
6969
execv(script_path, argv);
70-
70+
7171
/* If we get here, execv failed */
7272
perror("Error executing launcher script");
7373
return 1;

vice/src/arch/shared/make-bindist_osx.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ find_thing_libs () {
157157
| egrep -v "^\s+/usr/lib/" \
158158
| egrep -v "^\s+/System/Library/" \
159159
| awk '{print $1}'
160-
160+
161161
true
162162
}
163163

@@ -205,7 +205,7 @@ copy_thing_libs_internal () {
205205

206206
# >&2 echo "Found lib to copy: $lib"
207207
# >&2 echo " resolved to: $resolved_lib"
208-
208+
209209
if [ ! -e "$resolved_lib" ]; then
210210
>&2 echo " ERROR: resolved lib $resolved_lib does not exist!"
211211
exit 1
@@ -264,7 +264,7 @@ make_app_bundle() {
264264
local app_exe_filename="$app_name"
265265

266266
rm -rf "$app_path"
267-
267+
268268
# 2) Install launcher
269269
if [[ "$app_launcher" == *.applescript ]]; then
270270
osacompile -o "$app_path" "$app_launcher"
@@ -392,7 +392,7 @@ if [ -d etc ]; then
392392
echo -n "] "
393393
fi
394394

395-
echo
395+
echo
396396

397397

398398
# --- embed emu binaries -------------------------------------------------------
@@ -568,7 +568,7 @@ for tool_file in $TOOLS ; do
568568
exit 1
569569
fi
570570
cp src/$tool_file $APP_BIN/$tool_name
571-
571+
572572
# strip binary
573573
if [ x"$STRIP" = "xstrip" ]; then
574574
echo -n "[strip] "
@@ -649,7 +649,7 @@ relink () {
649649
install_name_tool -delete_rpath $rpath $thing \
650650
2> >(grep -v "invalidate the code signature")
651651
done
652-
652+
653653
install_name_tool -add_rpath @executable_path/../lib $thing \
654654
2> >(grep -v "invalidate the code signature")
655655
}
@@ -794,7 +794,7 @@ else
794794
mkdir $DMG_DIR
795795
ln -s /Applications $DMG_DIR/
796796
mv $BUILD_DIR $DMG_DIR
797-
797+
798798
# Create the image and format it
799799
echo " creating DMG"
800800
hdiutil create -fs HFS+ -srcfolder $DMG_DIR $BUILD_TMP_IMG -volname $BUILD_DIR -ov -quiet
@@ -826,7 +826,7 @@ if $WARN_CODE_SIGN; then
826826
****
827827
CODE_SIGN_ID environment variable not set, using ad-hoc signature. User will
828828
need to override Gatekeeper to run the apps.
829-
829+
830830
Run 'security find-identity -v -p codesigning' to list available identities,
831831
and set CODE_SIGN_ID to something like "Developer ID Application: <NAME> (<ID>)".
832832
****
@@ -836,7 +836,7 @@ fi
836836

837837
if test x"$ENABLEARCH" = "xyes"; then
838838
cat <<HEREDOC | sed 's/^ *//'
839-
839+
840840
****
841841
Warning: binaries are optimized for your system and might not run on a different system,
842842
use --enable-arch=no to avoid this.
@@ -847,7 +847,7 @@ fi
847847

848848
if [ ! -e doc/vice.pdf ]; then
849849
cat <<HEREDOC | sed 's/^ *//'
850-
850+
851851
****
852852
Warning: This binary distribution does not include vice.pdf as it was not built.
853853
****

0 commit comments

Comments
 (0)