Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7159985
makedist
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
669 B
Referenced Files
None
Subscribers
None
makedist
View Options
#!/usr/bin/env sh
if
[
! -f library/cdr_generic.php
]
;
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/plain
Expires
Sat, Nov 23, 2:19 PM (22 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3409313
Default Alt Text
makedist (669 B)
Attached To
Mode
rCDRT CDRTool
Attached
Detach File
Event Timeline
Log In to Comment