git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20962
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
echo Now try the RPMs with rpm -i.
}
-init=""
-if [ "$1" = "" ]
-then
- echo Usage: makerpm wx-dir output-dir version
- exit
-fi
-
-if [ "$2" = "" ]
-then
- echo Usage: makerpm wx-dir output-dir version
- exit
-fi
-
-if [ "$3" = "" ]
-then
- echo Usage: makerpm wx-dir output-dir version
- exit
-fi
-
PROGNAME=$0
WXSRC=$1
WXDEST=$2
exit 1
}
+init=""
+if [ "$1" = "" ]
+then
+ usage
+ exit
+fi
+
+if [ "$2" = "" ]
+then
+ usage
+ exit
+fi
+
+if [ "$3" = "" ]
+then
+ usage
+ exit
+fi
+
# Process command line options.
shift 3
for i in "$@"; do