remove questionable idiom
This commit is contained in:
parent
225eebc20d
commit
0165a813d7
|
@ -13,7 +13,7 @@ if [ -z "$1" ]; then
|
|||
exit 1;
|
||||
fi
|
||||
|
||||
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
|
||||
(mkdir -p rpmbuild && cd rpmbuild && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
|
||||
cd $src_repo
|
||||
|
||||
rpmbuild --define "_topdir %(pwd)/rpmbuild" \
|
||||
|
|
|
@ -8,7 +8,7 @@ if [ ! -d .git ]; then
|
|||
exit 1;
|
||||
fi
|
||||
|
||||
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
|
||||
(mkdir -p rpmbuild && cd rpmbuild && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
|
||||
|
||||
cd $src_repo/rpmbuild/SOURCES
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ dst_name="freeswitch-$cmajor.$cminor.$cmicro"
|
|||
dst_parent="/tmp/"
|
||||
dst_dir="/tmp/$dst_name"
|
||||
|
||||
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SPECS)
|
||||
(mkdir -p rpmbuild && cd rpmbuild && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SPECS)
|
||||
|
||||
cd $src_repo
|
||||
|
||||
|
|
Loading…
Reference in New Issue