]> git.pld-linux.org Git - packages/album.git/commitdiff
don't add ".exe" extension to commands on non-Windows OS
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 24 May 2002 06:25:08 +0000 (06:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    album-OS.patch -> 1.1

album-OS.patch [new file with mode: 0644]

diff --git a/album-OS.patch b/album-OS.patch
new file mode 100644 (file)
index 0000000..eba5d48
--- /dev/null
@@ -0,0 +1,16 @@
+diff -durN album-2.35.orig/album album-2.35/album
+--- album-2.35.orig/album      Wed May 22 20:22:35 2002
++++ album-2.35/album   Fri May 24 08:22:41 2002
+@@ -165,8 +165,10 @@
+   # (Need to figure this out - make a tmpfile?  $DEV_NULL = ...?)
+   # 6) .exe extension if we don't have it
+-  $CONVERT =~ s/(\.exe)?$/.exe/ig;
+-  $IDENTIFY =~ s/(\.exe)?$/.exe/ig;
++  if ($CRAPPY_OS) {
++    $CONVERT =~ s/(\.exe)?$/.exe/ig;
++    $IDENTIFY =~ s/(\.exe)?$/.exe/ig;
++  }
+ #########################
+ # URLs for these scripts - don't change
This page took 0.062717 seconds and 4 git commands to generate.