build in /usr/src/redhat
[kai/samba.git] / examples / appliance / build.sh
index a075742935713a2d0988cc16f94697471fbca37e..adef00fb89c7cfd8d379348b579a80cd6af7f44e 100755 (executable)
@@ -1,8 +1,4 @@
 #!/bin/sh
 
-for dir in SOURCES RPMS/i386 SRPMS BUILD; do
-    mkdir -p /tmp/$dir
-done
-
-tar --exclude=CVS -czf /tmp/SOURCES/samba-appliance-0.1-src.tar.gz samba-appliance-0.1
+tar --exclude=CVS -czf /usr/src/redhat/SOURCES/samba-appliance-0.1-src.tar.gz samba-appliance-0.1
 rpm -ba appliance.spec