Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7312313
makedist
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
651 B
Referenced Files
None
Subscribers
None
makedist
View Options
#!/bin/sh
if
[
! -f cdrlib.phtml
]
;
then
echo
"Run this program inside the CDRTool directory"
exit
1
fi
style
=
""
pkgignore
=
".pkgignorelite"
if
[
$#
-eq
1
-a
"
$1
"
=
"full"
]
;
then
style
=
"_full"
pkgignore
=
".pkgignore"
fi
dirname
=
`
basename
$PWD
`
basedir
=
`
dirname
$PWD
`
version
=
`
cat version
`
archive
=
"CDRTool-
$version$style
.tar.gz"
if
[
"
$dirname
"
!
=
"CDRTool"
]
;
then
create
=
1
else
create
=
0
fi
if
[
$create
-eq
1
]
;
then
(
cd
../
;
ln -s
"
$dirname
"
CDRTool
)
fi
echo
"Creating
$archive
"
GZIP
=
--best
tar --exclude-from
=
$pkgignore
--directory ../ -zchf
"
$archive
"
CDRTool
if
[
$create
-eq
1
]
;
then
rm ../CDRTool
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Feb 1, 5:40 AM (22 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3488786
Default Alt Text
makedist (651 B)
Attached To
Mode
rCDRT CDRTool
Attached
Detach File
Event Timeline
Log In to Comment