Dropping pre-squeeze handling for win32-loader files.
authorDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 10:42:18 +0000 (11:42 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 10:42:18 +0000 (11:42 +0100)
scripts/build/binary_win32-loader

index 576629a..267abcb 100755 (executable)
@@ -63,18 +63,15 @@ case "${LB_ARCHITECTURES}" in
                fi
 
                mv binary/win32-loader.exe binary/setup.exe
+               mv binary/win32-loader/g2ldr* binary
+               rmdir binary/win32-loader > /dev/null 2>&1 || true
 
                if [ -e binary/win32-loader-standalone.exe ]
                then
+                       # squeeze
                        mv binary/win32-loader-standalone.exe binary/setup-standalone.exe
                fi
 
-               if ls binary/win32-loader/g2ldr* > /dev/null 2>&1
-               then
-                       mv binary/win32-loader/g2ldr* binary
-                       rmdir binary/win32-loader > /dev/null 2>&1 || true
-               fi
-
 cat >> binary/autorun.inf << EOF
 [autorun]
 open=setup.exe