diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/busybox.spec | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/busybox.spec b/examples/busybox.spec index 5e6befbdf..e3fbb6d47 100644 --- a/examples/busybox.spec +++ b/examples/busybox.spec @@ -25,15 +25,7 @@ make %Install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/bin -h=`cat busybox.links` - -for i in $h ; do - mkdir -p $RPM_BUILD_ROOT/`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' ` - (cd $RPM_BUILD_ROOT/bin ; ln -s busybox `echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' ` ); -done -rm -f $RPM_BUILD_ROOT/bin/busybox -install -m 755 busybox $RPM_BUILD_ROOT/bin/busybox +make PREFIX=$RPM_BUILD_ROOT install %Clean rm -rf $RPM_BUILD_ROOT |