summaryrefslogtreecommitdiffstats
path: root/disk/cdrdao/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'disk/cdrdao/BUILD')
-rwxr-xr-xdisk/cdrdao/BUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/disk/cdrdao/BUILD b/disk/cdrdao/BUILD
index 83a2ead3fc..0fec124e6e 100755
--- a/disk/cdrdao/BUILD
+++ b/disk/cdrdao/BUILD
@@ -1,11 +1,13 @@
-##### Patch needed for building on x86_64 ######
-ARCH=$(uname -m) &&
-if [ "${ARCH:0:6}" = "x86_64" ]; then
- cd scsilib/RULES &&
- cp i686-linux-cc.rul x86_64-linux-cc.rul &&
- cd $SOURCE_DIRECTORY
-fi &&
-################################################
+if [ "$CVS" == "n" ]; then
+ ##### Patch needed for building on x86_64 ######
+ ARCH=$(uname -m) &&
+ if [ "${ARCH:0:6}" = "x86_64" ]; then
+ cd scsilib/RULES &&
+ cp i686-linux-cc.rul x86_64-linux-cc.rul &&
+ cd $SOURCE_DIRECTORY
+ fi
+ ################################################
+fi &&
if [ "$CVS" == "y" ]
then