Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
0606ec81
Commit
0606ec81
authored
Jul 17, 2015
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian/roll-tarballs.sh: more quotes, more curly braces, replace cd with pushd and pop.
parent
01ad7dad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
roll-tarballs.sh
debian/roll-tarballs.sh
+8
-8
No files found.
debian/roll-tarballs.sh
View file @
0606ec81
...
...
@@ -52,7 +52,7 @@ else
fi
if
[
x
"
$RELEASE
"
==
"xHEAD"
]
;
then
CHECKOUT
=
refs/heads/
$(
git rev-parse
--abbrev-ref
HEAD
)
CHECKOUT
=
"refs/heads/
$(
git rev-parse
--abbrev-ref
HEAD
)
"
fi
if
!
git rev-parse
--verify
-q
"
$CHECKOUT
"
>
/dev/null
;
then
...
...
@@ -80,14 +80,14 @@ cd "${TEMP_DIR}/${PROJECT}-${RELEASE}/"
# Replace symlinks by copies of the linked target files
# Note: We don't have symlinked directories!!!
find
.
-type
l
|
while
read link
;
do
TARGET
=
$(
readlink
"
$link
"
)
cd
$(
dirname
"
$link
"
)
if
[
-f
"
$
TARGET
"
]
;
then
rm
-f
$(
basename
"
$link
"
)
cp
"
${
TARGET
}
"
$(
basename
"
$link
"
)
find
.
-type
"l"
|
while
read link
;
do
TARGET
=
"
$(
readlink
"
${
link
}
"
)
"
pushd
"
$(
dirname
"
${
link
}
"
)
"
>
/dev/null
if
[
-f
"
$
{
TARGET
}
"
]
;
then
rm
-f
"
$(
basename
"
${
link
}
"
)
"
cp
"
${
TARGET
}
"
"
$(
basename
"
${
link
}
"
)
"
fi
cd
- 1
>/dev/null
popd
>
/dev/null
done
mkdir
-p
"doc/applied-patches"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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