Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fred Wright
CMake
Commits
525eb2dc
Commit
525eb2dc
authored
Jan 12, 2007
by
Bill Hoffman
Browse files
ENH: fix for newer cygwin
parent
1d27c6a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/Release/cygwin-package.sh.in
View file @
525eb2dc
#!/bin/sh
TOP_DIR
=
`
cd
\`
echo
"
$0
"
|
sed
-n
'/\//{s/\/[^\/]*$//;p;}'
\`
;
pwd
`
TOP_DIR
=
`
cd
\`
echo
"
$0
"
|
sed
-n
'/\//{s/\/[^\/]*$//;p;}'
\`
;
pwd
|dos2unix
`
SELF_NAME
=
`
basename
"
$0
"
.sh
`
PKG
=
`
echo
${
SELF_NAME
}
|
sed
-e
's/\-[^\-]*\-[^\-]*$//'
`
VER
=
`
echo
${
SELF_NAME
}
|
sed
-e
's/^[^\-]*\-//'
-e
's/\-[^\-]*$//'
`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment