From: Enlightenment S. <no-...@en...> - 2009-05-10 09:39:35
|
Log: Fixed script. Author: quaker Date: 2009-05-10 02:39:29 -0700 (Sun, 10 May 2009) New Revision: 40579 Modified: trunk/packaging/debian/e17builder.sh Modified: trunk/packaging/debian/e17builder.sh =================================================================== --- trunk/packaging/debian/e17builder.sh 2009-05-10 09:31:01 UTC (rev 40578) +++ trunk/packaging/debian/e17builder.sh 2009-05-10 09:39:29 UTC (rev 40579) @@ -363,6 +363,11 @@ fi done +case $1 in + --setup) setup + ;; +esac + cd $localpath if [ "$?" -ge "1" ]; then echo "Failed to change directory to $localpath. It looks that folder does not exist, run script with --setup." @@ -374,8 +379,6 @@ ;; --makechroots) makechroots ;; - --setup) setup - ;; --compile) compile ;; --prepare) prepare @@ -386,10 +389,10 @@ ;; --help) print_help ;; + --setup) "" + ;; *) echo "No or bad argument, run it with --help to see what it can do." exit 1 ;; esac - -exit 0 |